Class JacksonJsonUtils
java.lang.Object
org.springframework.integration.support.json.JacksonJsonUtils
Utility methods for Jackson.
- Since:
 - 3.0
 - Author:
 - Artem Bilan, Gary Russell, Youbin Wu
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionThe packages to trust on JSON deserialization by default. - 
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMappermessagingAwareMapper(String... trustedPackages) Return anObjectMapperif available, supplied with Message specific serializers and deserializers. 
- 
Field Details
- 
DEFAULT_TRUSTED_PACKAGES
The packages to trust on JSON deserialization by default. 
 - 
 - 
Method Details
- 
messagingAwareMapper
public static com.fasterxml.jackson.databind.ObjectMapper messagingAwareMapper(String... trustedPackages) Return anObjectMapperif available, supplied with Message specific serializers and deserializers. Also configured to store typo info in the@classproperty.- Parameters:
 trustedPackages- the trusted Java packages for deserialization.- Returns:
 - the mapper.
 - Throws:
 IllegalStateException- if an implementation is not available.- Since:
 - 4.3.10
 
 
 -