Class JacksonJsonNodeHelper

  • All Implemented Interfaces:
    ConfigurationDataRetriever<com.fasterxml.jackson.databind.JsonNode>, ConfigurationHelper<com.fasterxml.jackson.databind.JsonNode>

    public class JacksonJsonNodeHelper
    extends GenericJsonConfigurationHelper<com.fasterxml.jackson.databind.JsonNode>
    A specialized Configuration Helper that retrieves data from Jackson's JsonNode, with JSONPath capabilities.
    Since:
    0.3.0
    Author:
    oswaldo.bapvic.jr (Oswaldo Junior)
    • Constructor Detail

      • JacksonJsonNodeHelper

        public JacksonJsonNodeHelper​(com.fasterxml.jackson.databind.JsonNode jsonNode)
        Creates a new helper for the given JsonNode.
        Parameters:
        jsonNode - the JSON document to be set
    • Method Detail

      • configurationMerger

        public ConfigurationMerger<com.fasterxml.jackson.databind.JsonNode> configurationMerger()
      • getAsString

        public String getAsString()
        Returns:
        a pretty-printed representation of the JsonNode in context
        Since:
        2.5.0