Package org.vrspace.server.config
Class JacksonConfig
java.lang.Object
org.vrspace.server.config.JacksonConfig
Jackson JSON parser configuration. Configures date format and string
de/serializers to prevent XSS.
- Author:
- joe
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Converts JSON string to Java stringclass
Converts Java string to JSON string -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapper
org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Constructor Details
-
JacksonConfig
public JacksonConfig()
-
-
Method Details
-
objectMapper
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper() -
objectMapperBuilder
@Bean public org.springframework.http.converter.json.Jackson2ObjectMapperBuilder objectMapperBuilder()
-