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
GsonBuilderwhich 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.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 ofHttpMessageConverterthat can read and write JSON using the JSON Binding API.Implementation ofHttpMessageConverterthat 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 ofJacksonJsonHttpMessageConverterDeprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of usingSmartHttpMessageConverterhintsDeprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor of usingSmartHttpMessageConverterhintsAn 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.Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofJacksonHandlerInstantiator
AbstractJacksonHttpMessageConverter