Class JacksonYAMLToJsonNodeMapper

  • All Implemented Interfaces:
    Mapper<com.fasterxml.jackson.databind.JsonNode>

    public class JacksonYAMLToJsonNodeMapper
    extends JacksonYAMLToObjectMapper<com.fasterxml.jackson.databind.JsonNode>
    implements Mapper<com.fasterxml.jackson.databind.JsonNode>
    A specialized Mapper that loads the contents of a valid YAML Source (e.g.: file, URL, string) and converts it into a JsonNode, using Jackson's YAMLMapper.

    This allows fetching the contents using JSONPath expressions.

    Additional details may be found at Jackson's official documentation.

    Note: Support for Jackson modules lookup is disabled for this type of mapper.

    Since:
    0.3.0
    Author:
    oswaldo.bapvic.jr (Oswaldo Junior)
    • Constructor Detail

      • JacksonYAMLToJsonNodeMapper

        public JacksonYAMLToJsonNodeMapper()
        Builds a new YAML-to-JSON mapper.