| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.JsonNode |
DotNotes.create(com.fasterxml.jackson.databind.JsonNode target,
String path,
com.fasterxml.jackson.databind.JsonNode value)
Uses a dot-noted path in order to create a given value in the given leaf of a tree.
|
static String |
DotNotes.escape(NotedKey key)
Escapes a key input, to ensure that the returned String is a valid
key format.
|
static String |
DotNotes.escape(Number num)
Wrapper to $
DotNotes.escape(NotedKey) in order to allow easy passing
of a Number value without having to manually force into a NotedKey. |
static String |
DotNotes.escape(String str)
Wrapper to $
DotNotes.escape(NotedKey) in order to allow easy passing
of a String value without having to manually force into a NotedKey. |
static com.fasterxml.jackson.databind.JsonNode |
DotNotes.get(com.fasterxml.jackson.databind.JsonNode node,
String path)
Uses a String path to create a List of keys in order to move
through a nested $
JsonNode in order to find a specific
value. |
static List<NotedKey> |
DotNotes.keys(String s)
Takes a dot-noted String and converts it to a List of keys.
|
static void |
DotNotes.recurse(com.fasterxml.jackson.databind.JsonNode node,
DotNotes.NodeIterator handler)
A small wrapper to $
DotNotes.recurse(JsonNode, NodeIterator, String) to allow omitting
a third parameter, passing null instead. |
static void |
DotNotes.recurse(com.fasterxml.jackson.databind.JsonNode node,
DotNotes.NodeIterator handler,
String start)
Moves through the provided JsonNode, emitting values to the $
DotNotes.NodeIterator.execute(NotedKey, JsonNode, String)
method of a provided handler. |
Copyright © 2017. All rights reserved.