程序包 org.springframework.http.converter.json
Provides HttpMessageConverter implementations for handling JSON.
类概要 类 说明 AbstractJackson2HttpMessageConverter Abstract base class for Jackson based and content type independentHttpMessageConverterimplementations.GsonBuilderUtils A simple utility class for obtaining a Google Gson 2.xGsonBuilderwhich Base64-encodesbyte[]properties when reading and writing JSON.GsonFactoryBean AFactoryBeanfor creating a Google Gson 2.xGsoninstance.GsonHttpMessageConverter Implementation ofHttpMessageConverterthat can read and write JSON using the Google Gson library'sGsonclass.Jackson2ObjectMapperBuilder A builder used to createObjectMapperinstances with a fluent API.Jackson2ObjectMapperFactoryBean AFactoryBeanfor creating a Jackson 2.xObjectMapper(default) orXmlMapper(createXmlMapperproperty set to true) with setters to enable or disable Jackson features from within XML configuration.MappingJackson2HttpMessageConverter Implementation ofHttpMessageConverterthat can read and write JSON using Jackson 2.x'sObjectMapper.MappingJacksonInputMessage HttpInputMessagethat can eventually stores a Jackson view that will be used to deserialize the message.MappingJacksonValue A simple holder for the POJO to serialize viaMappingJackson2HttpMessageConverteralong with further serialization instructions to be passed in to the converter.SpringHandlerInstantiator Allows for creating Jackson (JsonSerializer,JsonDeserializer,KeyDeserializer,TypeResolverBuilder,TypeIdResolver) beans with autowiring against a SpringApplicationContext.