Class JacksonUtils

java.lang.Object
org.springframework.amqp.support.converter.JacksonUtils

public final class JacksonUtils extends Object
The utilities for Jackson ObjectMapper instances.
Since:
3.1.1
Author:
Artem Bilan
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.fasterxml.jackson.databind.ObjectMapper
    Factory for ObjectMapper instances with registered well-known modules and disabled MapperFeature.DEFAULT_VIEW_INCLUSION and DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES features.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • enhancedObjectMapper

      public static com.fasterxml.jackson.databind.ObjectMapper enhancedObjectMapper()
      Factory for ObjectMapper instances with registered well-known modules and disabled MapperFeature.DEFAULT_VIEW_INCLUSION and DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES features.
      Returns:
      the ObjectMapper instance.