| 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.
|
Copyright © 2019. All rights reserved.