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
HttpMessageConverter
implementations.Common base class for plain JSON converters, for example, Gson and JSON-B.A simple utility class for obtaining a Google Gson 2.xGsonBuilder
which Base64-encodesbyte[]
properties when reading and writing JSON.AFactoryBean
for creating a Google Gson 2.xGson
instance.Implementation ofHttpMessageConverter
that can read and write JSON using the Google Gson library.A builder used to createObjectMapper
instances with a fluent API.AFactoryBean
for creating a Jackson 2.xObjectMapper
(default) orXmlMapper
(createXmlMapper
property set to true) with setters to enable or disable Jackson features from within XML configuration.Implementation ofHttpMessageConverter
that can read and write JSON using the JSON Binding API.Implementation ofHttpMessageConverter
that can read and write JSON using kotlinx.serialization.Implementation ofHttpMessageConverter
that can read and write JSON using Jackson 2.x'sObjectMapper
.HttpInputMessage
that can eventually stores a Jackson view that will be used to deserialize the message.A simple holder for the POJO to serialize viaMappingJackson2HttpMessageConverter
along with further serialization instructions to be passed in to the converter.An interface to associate Jackson annotations withProblemDetail
to avoid a hard dependency on the Jackson library.Provides the same declarations asProblemDetailJacksonMixin
and some additional ones to support XML serialization whenjackson-dataformat-xml
is on the classpath.Allows for creating Jackson (JsonSerializer
,JsonDeserializer
,KeyDeserializer
,TypeResolverBuilder
,TypeIdResolver
) beans with autowiring against a SpringApplicationContext
.