Package io.kjson.spring
Class JSONSpring
-
- All Implemented Interfaces:
-
org.springframework.http.converter.GenericHttpMessageConverter,org.springframework.http.converter.HttpMessageConverter
public class JSONSpring extends AbstractJsonHttpMessageConverterSpring message converter to convert messages to and from JSON using the kjson library. This class is expected to be instantiated by the JSONSpringAutoConfiguration class, but it may be configured separately if required.
-
-
Field Summary
Fields Modifier and Type Field Description private List<MediaType>supportedMediaTypesprivate CharsetdefaultCharset
-
Constructor Summary
Constructors Constructor Description JSONSpring(JSONConfig jsonConfig, LoggerFactory<?> jsonLogFactory, String jsonLogName, Level jsonLogLevel, Collection<String> jsonLogExclude)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
canRead, canWrite, getDefaultCharset, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write -
Methods inherited from class org.springframework.http.converter.AbstractGenericHttpMessageConverter
canRead, canWrite, write -
Methods inherited from class org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypes -
Methods inherited from class org.springframework.http.converter.json.AbstractJsonHttpMessageConverter
read, setJsonPrefix, setPrefixJson -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
JSONSpring
JSONSpring(JSONConfig jsonConfig, LoggerFactory<?> jsonLogFactory, String jsonLogName, Level jsonLogLevel, Collection<String> jsonLogExclude)
-
-
-
-