public class JsonPathFacade
This class wraps read and write operations based on JSONPath.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
EMPTY_ARRAY_STRING |
Constructor and description |
---|
JsonPathFacade
(java.lang.String targetJson) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getCurrentJson() |
|
public JsonNode |
getJSON() |
|
public static ObjectMapper |
getPathFacadeObjectMapper() |
|
public boolean |
isNodeExists(java.lang.String jsonPathExpression) |
|
public static boolean |
isNodeTypeNull(JsonNode node) |
|
public java.util.Set<JsonPathValueNode> |
listLeafValues() |
|
public JsonNode |
nullIfNodeTypeNull(JsonNode node) |
|
public java.lang.Object |
readFunctionValue(java.lang.String expandedPath) |
|
public JsonNode |
readObjectValue(java.lang.String jsonPathExpression) |
|
public JsonNode |
readObjectValue(java.lang.String jsonPathExpression, boolean processArray) |
|
public java.lang.String |
readStringValue(java.lang.String jsonPathExpression) |
|
public java.lang.String |
readStringValue(java.lang.String jsonPathExpression, boolean emptyStringIfNull) |
|
public java.lang.String |
readStringValue(java.lang.String jsonPathExpression, JsonNode value, boolean emptyStringIfNull) |
|
public void |
writeValue(java.lang.String jsonPathExpression, java.lang.Object value) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
ReadyAPI core SDK 3.57.0