Uses of Interface
com.jayway.jsonpath.Predicate
Packages that use Predicate
Package
Description
-
Uses of Predicate in com.jayway.jsonpath
Classes in com.jayway.jsonpath that implement PredicateModifier and TypeClassDescriptionclass
class
private static final class
private static final class
private static final class
Fields in com.jayway.jsonpath declared as PredicateModifier and TypeFieldDescriptionprivate final Predicate
Filter.OrFilter.left
private final Predicate
Filter.SingleFilter.predicate
private final Predicate
Filter.OrFilter.right
Fields in com.jayway.jsonpath with type parameters of type PredicateMethods in com.jayway.jsonpath with parameters of type PredicateModifier and TypeMethodDescriptionAdd value to arraystatic JsonPath
Compiles a JsonPathDeletes the given pathstatic Filter
Creates a new Filter based on given criteriaWriteContext.map
(String path, MapFunction mapFunction, Predicate... filters) Replaces the value on the given path with the result of theMapFunction
.Thematches
operator checks that an object matches the given predicate.Add or update the key with a the given value at the given pathstatic <T> T
Creates a new JsonPath and applies it to the provided Json objectstatic <T> T
JsonPath.read
(InputStream jsonInputStream, String jsonPath, Predicate... filters) Creates a new JsonPath and applies it to the provided Json objectstatic <T> T
Creates a new JsonPath and applies it to the provided Json objectstatic <T> T
Creates a new JsonPath and applies it to the provided Json stringstatic <T> T
Creates a new JsonPath and applies it to the provided Json object<T> T
Reads the given path from this context<T> T
Reads the given path from this contextRenames the last key element of a given path.Set the value a the given pathMethod parameters in com.jayway.jsonpath with type arguments of type PredicateModifier and TypeMethodDescriptionstatic Filter
Filter.filter
(Collection<Predicate> predicates) Create a new Filter based on given list of criteria.Constructors in com.jayway.jsonpath with parameters of type PredicateConstructor parameters in com.jayway.jsonpath with type arguments of type Predicate -
Uses of Predicate in com.jayway.jsonpath.internal
Methods in com.jayway.jsonpath.internal with parameters of type PredicateModifier and TypeMethodDescriptionJsonContext.map
(String path, MapFunction mapFunction, Predicate... filters) <T> T
<T> T
-
Uses of Predicate in com.jayway.jsonpath.internal.filter
Classes in com.jayway.jsonpath.internal.filter that implement PredicateModifier and TypeClassDescriptionclass
private static final class
class
class
Fields in com.jayway.jsonpath.internal.filter declared as PredicateModifier and TypeFieldDescriptionprivate final Predicate
FilterCompiler.CompiledFilter.predicate
private final Predicate
ValueNode.PredicateNode.predicate
Methods in com.jayway.jsonpath.internal.filter that return PredicateModifier and TypeMethodDescriptionFilterCompiler.compile()
ValueNode.PredicateNode.getPredicate()
Constructors in com.jayway.jsonpath.internal.filter with parameters of type PredicateModifierConstructorDescriptionprivate
CompiledFilter
(Predicate predicate) PredicateNode
(Predicate predicate) -
Uses of Predicate in com.jayway.jsonpath.internal.path
Fields in com.jayway.jsonpath.internal.path with type parameters of type PredicateModifier and TypeFieldDescriptionprivate final LinkedList
<Predicate> PathCompiler.filterStack
private final Collection
<Predicate> PredicatePathToken.predicates
Methods in com.jayway.jsonpath.internal.path with parameters of type PredicateModifier and TypeMethodDescriptionstatic Path
static PathToken
PathTokenFactory.createPredicatePathToken
(Predicate predicate) Method parameters in com.jayway.jsonpath.internal.path with type arguments of type PredicateModifier and TypeMethodDescriptionstatic PathToken
PathTokenFactory.createPredicatePathToken
(Collection<Predicate> predicates) Constructors in com.jayway.jsonpath.internal.path with parameters of type PredicateConstructor parameters in com.jayway.jsonpath.internal.path with type arguments of type PredicateModifierConstructorDescriptionprivate
PathCompiler
(String path, LinkedList<Predicate> filterStack) (package private)
PredicatePathToken
(Collection<Predicate> predicates)