Class JacksonJsonConverter

    • Field Detail

      • OBJECT_MAPPERS

        private static final java.util.Map<java.lang.String,​ObjectMapperProvider> OBJECT_MAPPERS
      • objectMapper

        private final com.fasterxml.jackson.databind.ObjectMapper objectMapper
      • lenientObjectMapper

        private final com.fasterxml.jackson.databind.ObjectMapper lenientObjectMapper
    • Method Detail

      • loadObjectMappers

        private static java.util.Map<java.lang.String,​ObjectMapperProvider> loadObjectMappers()
      • toNode

        public Node toNode​(java.io.InputStream stream)
        Description copied from interface: JsonConverter
        Convert the given stream into a Node.
        Specified by:
        toNode in interface JsonConverter
        Parameters:
        stream - the stream that should be converted
        Returns:
        the Node for the stream, never null
      • toNode

        public Node toNode​(java.lang.String value,
                           boolean lenient)
        Description copied from interface: JsonConverter
        Convert the given value into a Node
        Specified by:
        toNode in interface JsonConverter
        Parameters:
        value - the json value that should be converted
        lenient - whether the conversion should be lenient
        Returns:
        the Node for the value, never null
      • getObjectMapper

        private com.fasterxml.jackson.databind.ObjectMapper getObjectMapper​(boolean lenient)