@Named(value="json") @Singleton @Secondary @Bean(typed={JsonMediaTypeCodec.class,JacksonMediaTypeCodec.class}) public class JsonMediaTypeCodec extends JacksonMediaTypeCodec
MediaTypeCodec for JSON and Jackson.
 Note: will be replaced by JsonMediaTypeCodec in the future, but that class is
 currently experimental.| Modifier and Type | Field and Description | 
|---|---|
static String | 
CONFIGURATION_QUALIFIER  | 
REGULAR_JSON_MEDIA_TYPE_CODEC_NAMEadditionalTypes, applicationConfiguration, codecConfiguration, mediaType| Constructor and Description | 
|---|
JsonMediaTypeCodec(BeanProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper,
                  ApplicationConfiguration applicationConfiguration,
                  CodecConfiguration codecConfiguration)  | 
JsonMediaTypeCodec(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                  ApplicationConfiguration applicationConfiguration,
                  CodecConfiguration codecConfiguration)  | 
| Modifier and Type | Method and Description | 
|---|---|
JacksonMediaTypeCodec | 
cloneWithFeatures(JacksonFeatures jacksonFeatures)
Create a new codec with the provided features. 
 | 
cloneWithFeatures, cloneWithMapper, decode, getObjectMappercloneWithViewClass, decode, decode, decode, decode, decode, encode, encode, encode, encode, encode, encode, getJsonMapper, getMediaTypes, supportsTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, decode, decode, decodepublic static final String CONFIGURATION_QUALIFIER
public JsonMediaTypeCodec(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                          ApplicationConfiguration applicationConfiguration,
                          @Named(value="json") @Nullable
                          CodecConfiguration codecConfiguration)
objectMapper - To read/write JSONapplicationConfiguration - The common application configurationscodecConfiguration - The configuration for the codec@Inject public JsonMediaTypeCodec(BeanProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, ApplicationConfiguration applicationConfiguration, @Named(value="json") @Nullable CodecConfiguration codecConfiguration)
objectMapper - To read/write JSONapplicationConfiguration - The common application configurationscodecConfiguration - The configuration for the codecpublic JacksonMediaTypeCodec cloneWithFeatures(JacksonFeatures jacksonFeatures)
JacksonMediaTypeCodeccloneWithFeatures in class JacksonMediaTypeCodecjacksonFeatures - The jackson features