Interface JsonNodeSource
- All Known Implementing Classes:
BaseJsonNodeSource
,HoconFileSource
,JsonNodeDirectorySource
,JsonNodeFileSource
,JsonNodeLiteralSource
,JsonNodeMergingSource
,JsonNodePaginatedUriSource
,JsonNodeUriSource
public interface JsonNodeSource
Interface for sourcing
JsonNode
based configuration.- Author:
- Ville Koskela (ville dot koskela at inscopemetrics dot io)
-
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>
Retrieve theJsonNode
by looking up the sequence of keys or returnOptional.empty()
if any key in the sequence does not exist.
-
Method Details
-
getValue
Retrieve theJsonNode
by looking up the sequence of keys or returnOptional.empty()
if any key in the sequence does not exist.- Parameters:
keys
- The sequence of keys to look-up to find the value.- Returns:
- The
JsonNode
representing the value.
-