Class JacksonMapperUtils

java.lang.Object
org.springframework.kafka.support.JacksonMapperUtils

public final class JacksonMapperUtils extends Object
The utilities for Jackson ObjectMapper instances.
Since:
4.0
Author:
Artem Bilan, Soby Chacko
  • Method Summary

    Modifier and Type
    Method
    Description
    static tools.jackson.databind.json.JsonMapper
    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

    • enhancedJsonMapper

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