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 Type
    Method
    Description
    Optional<com.fasterxml.jackson.databind.JsonNode>
    getValue(String... keys)
    Retrieve the JsonNode by looking up the sequence of keys or return Optional.empty() if any key in the sequence does not exist.
  • Method Details

    • getValue

      Optional<com.fasterxml.jackson.databind.JsonNode> getValue(String... keys)
      Retrieve the JsonNode by looking up the sequence of keys or return Optional.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.