Class DefaultJsonNodeReader

    • Field Detail

      • jsonMapper

        protected final com.fasterxml.jackson.databind.ObjectMapper jsonMapper
      • yamlMapper

        protected final com.fasterxml.jackson.databind.ObjectMapper yamlMapper
    • Constructor Detail

      • DefaultJsonNodeReader

        protected DefaultJsonNodeReader​(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
                                        com.fasterxml.jackson.databind.ObjectMapper yamlMapper,
                                        JsonNodeFactoryFactory jsonNodeFactoryFactory)
        Constructor.
        Parameters:
        jsonMapper - the json mapper
        yamlMapper - the yaml mapper
        jsonNodeFactoryFactory - the json node factory factory
    • Method Detail

      • getYamlMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getYamlMapper()
        Gets the yaml mapper.
        Returns:
        the yaml mapper
      • getJsonMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getJsonMapper()
        Gets the json mapper.
        Returns:
        the json mapper
      • getObjectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper​(InputFormat inputFormat)
        Gets the object mapper for the input format.
        Parameters:
        inputFormat - the input format
        Returns:
        the object mapper