Package | Description |
---|---|
com.jayway.jsonpath | |
com.jayway.jsonpath.internal | |
com.jayway.jsonpath.internal.filter | |
com.jayway.jsonpath.internal.path |
Modifier and Type | Class and Description |
---|---|
class |
Criteria |
class |
Filter |
Modifier and Type | Method and Description |
---|---|
DocumentContext |
WriteContext.add(String path,
Object value,
Predicate... filters)
Add value to array
|
Filter |
Filter.and(Predicate other) |
static JsonPath |
JsonPath.compile(String jsonPath,
Predicate... filters)
Compiles a JsonPath
|
DocumentContext |
WriteContext.delete(String path,
Predicate... filters)
Deletes the given path
|
static Filter |
Filter.filter(Predicate predicate)
Creates a new Filter based on given criteria
|
DocumentContext |
WriteContext.map(String path,
MapFunction mapFunction,
Predicate... filters)
Replaces the value on the given path with the result of the
MapFunction . |
Criteria |
Criteria.matches(Predicate p)
The
matches operator checks that an object matches the given predicate. |
Filter |
Filter.or(Predicate other) |
DocumentContext |
WriteContext.put(String path,
String key,
Object value,
Predicate... filters)
Add or update the key with a the given value at the given path
|
static <T> T |
JsonPath.read(File jsonFile,
String jsonPath,
Predicate... filters)
Creates a new JsonPath and applies it to the provided Json object
|
static <T> T |
JsonPath.read(InputStream jsonInputStream,
String jsonPath,
Predicate... filters)
Creates a new JsonPath and applies it to the provided Json object
|
static <T> T |
JsonPath.read(Object json,
String jsonPath,
Predicate... filters)
Creates a new JsonPath and applies it to the provided Json object
|
<T> T |
ReadContext.read(String path,
Class<T> type,
Predicate... filters)
Reads the given path from this context
|
<T> T |
ReadContext.read(String path,
Predicate... filters)
Reads the given path from this context
|
static <T> T |
JsonPath.read(String json,
String jsonPath,
Predicate... filters)
Creates a new JsonPath and applies it to the provided Json string
|
static <T> T |
JsonPath.read(URL jsonURL,
String jsonPath,
Predicate... filters)
Creates a new JsonPath and applies it to the provided Json object
|
DocumentContext |
WriteContext.renameKey(String path,
String oldKeyName,
String newKeyName,
Predicate... filters)
Renames the last key element of a given path.
|
DocumentContext |
WriteContext.set(String path,
Object newValue,
Predicate... filters)
Set the value a the given path
|
Modifier and Type | Method and Description |
---|---|
static Filter |
Filter.filter(Collection<Predicate> predicates)
Create a new Filter based on given list of criteria.
|
Modifier and Type | Method and Description |
---|---|
DocumentContext |
JsonContext.add(String path,
Object value,
Predicate... filters) |
DocumentContext |
JsonContext.delete(String path,
Predicate... filters) |
DocumentContext |
JsonContext.map(String path,
MapFunction mapFunction,
Predicate... filters) |
DocumentContext |
JsonContext.put(String path,
String key,
Object value,
Predicate... filters) |
<T> T |
JsonContext.read(String path,
Class<T> type,
Predicate... filters) |
<T> T |
JsonContext.read(String path,
Predicate... filters) |
DocumentContext |
JsonContext.renameKey(String path,
String oldKeyName,
String newKeyName,
Predicate... filters) |
DocumentContext |
JsonContext.set(String path,
Object newValue,
Predicate... filters) |
Modifier and Type | Class and Description |
---|---|
class |
ExpressionNode |
class |
LogicalExpressionNode |
class |
RelationalExpressionNode |
Modifier and Type | Method and Description |
---|---|
Predicate |
FilterCompiler.compile() |
Predicate |
ValueNode.PredicateNode.getPredicate() |
Constructor and Description |
---|
PredicateNode(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
static Path |
PathCompiler.compile(String path,
Predicate... filters) |
static PathToken |
PathTokenFactory.createPredicatePathToken(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
static PathToken |
PathTokenFactory.createPredicatePathToken(Collection<Predicate> predicates) |
Copyright © 2016. All rights reserved.