public final class JacksonJsonUtils extends Object
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
messagingAwareMapper(String... trustedPackages)
Return an
ObjectMapper if available,
supplied with Message specific serializers and deserializers. |
public static com.fasterxml.jackson.databind.ObjectMapper messagingAwareMapper(String... trustedPackages)
ObjectMapper
if available,
supplied with Message specific serializers and deserializers.
Also configured to store typo info in the @class
property.trustedPackages
- the trusted Java packages for deserialization.IllegalStateException
- if an implementation is not available.