Package org.springframework.http.converter.json
@NonNullApi
@NonNullFields
package org.springframework.http.converter.json
Provides HttpMessageConverter implementations for handling JSON.
-
ClassDescriptionAbstract base class for Jackson based and content type independent
HttpMessageConverterimplementations.Common base class for plain JSON converters, for example, Gson and JSON-B.A simple utility class for obtaining a Google Gson 2.xGsonBuilderwhich Base64-encodesbyte[]properties when reading and writing JSON.AFactoryBeanfor creating a Google Gson 2.xGsoninstance.Implementation ofHttpMessageConverterthat can read and write JSON using the Google Gson library.A builder used to createObjectMapperinstances with a fluent API.AFactoryBeanfor creating a Jackson 2.xObjectMapper(default) orXmlMapper(createXmlMapperproperty set to true) with setters to enable or disable Jackson features from within XML configuration.Implementation ofHttpMessageConverterthat can read and write JSON using the JSON Binding API.Implementation ofHttpMessageConverterthat can read and write JSON using kotlinx.serialization.Implementation ofHttpMessageConverterthat can read and write JSON using Jackson 2.x'sObjectMapper.HttpInputMessagethat can eventually stores a Jackson view that will be used to deserialize the message.A simple holder for the POJO to serialize viaMappingJackson2HttpMessageConverteralong with further serialization instructions to be passed in to the converter.An interface to associate Jackson annotations withProblemDetailto avoid a hard dependency on the Jackson library.Provides the same declarations asProblemDetailJacksonMixinand some additional ones to support XML serialization whenjackson-dataformat-xmlis on the classpath.Allows for creating Jackson (JsonSerializer,JsonDeserializer,KeyDeserializer,TypeResolverBuilder,TypeIdResolver) beans with autowiring against a SpringApplicationContext.