Class JacksonJsonNodeHelper
- java.lang.Object
-
- net.obvj.confectory.internal.helper.GenericJsonConfigurationHelper<com.fasterxml.jackson.databind.JsonNode>
-
- net.obvj.confectory.internal.helper.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'sJsonNode, with JSONPath capabilities.- Since:
- 0.3.0
- Author:
- oswaldo.bapvic.jr (Oswaldo Junior)
-
-
Constructor Summary
Constructors Constructor Description JacksonJsonNodeHelper(com.fasterxml.jackson.databind.JsonNode jsonNode)Creates a new helper for the givenJsonNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationMerger<com.fasterxml.jackson.databind.JsonNode>configurationMerger()StringgetAsString()-
Methods inherited from class net.obvj.confectory.internal.helper.GenericJsonConfigurationHelper
get, getBean, getBoolean, getDouble, getInteger, getLong, getMandatoryBoolean, getMandatoryDouble, getMandatoryInteger, getMandatoryLong, getMandatoryString, getString
-
-
-
-
Method Detail
-
configurationMerger
public ConfigurationMerger<com.fasterxml.jackson.databind.JsonNode> configurationMerger()
-
getAsString
public String getAsString()
- Returns:
- a pretty-printed representation of the
JsonNodein context - Since:
- 2.5.0
-
-