Package org.springframework.http.converter.json
@NullMarked
package org.springframework.http.converter.json
Provides HttpMessageConverter implementations for handling JSON.
-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Common base class for plain JSON converters, for example, Gson and JSON-B.A simple utility class for obtaining a Google Gson 2.x
GsonBuilder
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.Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor using directly Jackson 3 builders likeJsonMapper.builder()
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of using directly Jackson 3 converters default constructorImplementation ofHttpMessageConverter
that can read and write JSON using the JSON Binding API.Implementation ofHttpMessageConverter
that can read and write JSON using kotlinx.serialization.Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofJacksonJsonHttpMessageConverter
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of usingSmartHttpMessageConverter
hintsDeprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of usingSmartHttpMessageConverter
hintsAn 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.Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofJacksonHandlerInstantiator
AbstractJacksonHttpMessageConverter