Uses of Interface
com.jayway.jsonpath.Predicate
-
Packages that use Predicate Package Description com.jayway.jsonpath com.jayway.jsonpath.internal com.jayway.jsonpath.internal.filter com.jayway.jsonpath.internal.path -
-
Uses of Predicate in com.jayway.jsonpath
Classes in com.jayway.jsonpath that implement Predicate Modifier and Type Class Description classCriteriaclassFilterprivate static classFilter.AndFilterprivate static classFilter.OrFilterprivate static classFilter.SingleFilterFields in com.jayway.jsonpath declared as Predicate Modifier and Type Field Description private PredicateFilter.OrFilter. leftprivate PredicateFilter.SingleFilter. predicateprivate PredicateFilter.OrFilter. rightFields in com.jayway.jsonpath with type parameters of type Predicate Modifier and Type Field Description private java.util.Collection<Predicate>Filter.AndFilter. predicatesMethods in com.jayway.jsonpath with parameters of type Predicate Modifier and Type Method Description DocumentContextWriteContext. add(java.lang.String path, java.lang.Object value, Predicate... filters)Add value to arrayFilterFilter. and(Predicate other)FilterFilter.AndFilter. and(Predicate other)FilterFilter.OrFilter. and(Predicate other)static JsonPathJsonPath. compile(java.lang.String jsonPath, Predicate... filters)Compiles a JsonPathDocumentContextWriteContext. delete(java.lang.String path, Predicate... filters)Deletes the given pathstatic FilterFilter. filter(Predicate predicate)Creates a new Filter based on given criteriaDocumentContextWriteContext. map(java.lang.String path, MapFunction mapFunction, Predicate... filters)Replaces the value on the given path with the result of theMapFunction.CriteriaCriteria. matches(Predicate p)Thematchesoperator checks that an object matches the given predicate.FilterFilter. or(Predicate other)DocumentContextWriteContext. put(java.lang.String path, java.lang.String key, java.lang.Object value, Predicate... filters)Add or update the key with a the given value at the given pathstatic <T> TJsonPath. read(java.io.File jsonFile, java.lang.String jsonPath, Predicate... filters)Creates a new JsonPath and applies it to the provided Json objectstatic <T> TJsonPath. read(java.io.InputStream jsonInputStream, java.lang.String jsonPath, Predicate... filters)Creates a new JsonPath and applies it to the provided Json objectstatic <T> TJsonPath. read(java.lang.Object json, java.lang.String jsonPath, Predicate... filters)Creates a new JsonPath and applies it to the provided Json objectstatic <T> TJsonPath. read(java.lang.String json, java.lang.String jsonPath, Predicate... filters)Creates a new JsonPath and applies it to the provided Json stringstatic <T> TJsonPath. read(java.net.URL jsonURL, java.lang.String jsonPath, Predicate... filters)Creates a new JsonPath and applies it to the provided Json object<T> TReadContext. read(java.lang.String path, Predicate... filters)Reads the given path from this context<T> TReadContext. read(java.lang.String path, java.lang.Class<T> type, Predicate... filters)Reads the given path from this contextDocumentContextWriteContext. renameKey(java.lang.String path, java.lang.String oldKeyName, java.lang.String newKeyName, Predicate... filters)Renames the last key element of a given path.DocumentContextWriteContext. set(java.lang.String path, java.lang.Object newValue, Predicate... filters)Set the value a the given pathMethod parameters in com.jayway.jsonpath with type arguments of type Predicate Modifier and Type Method Description static FilterFilter. filter(java.util.Collection<Predicate> predicates)Create a new Filter based on given list of criteria.Constructors in com.jayway.jsonpath with parameters of type Predicate Constructor Description AndFilter(Predicate left, Predicate right)JsonPath(java.lang.String jsonPath, Predicate[] filters)OrFilter(Predicate left, Predicate right)SingleFilter(Predicate predicate)Constructor parameters in com.jayway.jsonpath with type arguments of type Predicate Constructor Description AndFilter(java.util.Collection<Predicate> predicates) -
Uses of Predicate in com.jayway.jsonpath.internal
Methods in com.jayway.jsonpath.internal with parameters of type Predicate Modifier and Type Method Description DocumentContextJsonContext. add(java.lang.String path, java.lang.Object value, Predicate... filters)DocumentContextJsonContext. delete(java.lang.String path, Predicate... filters)DocumentContextJsonContext. map(java.lang.String path, MapFunction mapFunction, Predicate... filters)DocumentContextJsonContext. put(java.lang.String path, java.lang.String key, java.lang.Object value, Predicate... filters)<T> TJsonContext. read(java.lang.String path, Predicate... filters)<T> TJsonContext. read(java.lang.String path, java.lang.Class<T> type, Predicate... filters)DocumentContextJsonContext. renameKey(java.lang.String path, java.lang.String oldKeyName, java.lang.String newKeyName, Predicate... filters)DocumentContextJsonContext. set(java.lang.String path, java.lang.Object newValue, Predicate... filters) -
Uses of Predicate in com.jayway.jsonpath.internal.filter
Classes in com.jayway.jsonpath.internal.filter that implement Predicate Modifier and Type Class Description classExpressionNodeprivate static classFilterCompiler.CompiledFilterclassLogicalExpressionNodeclassRelationalExpressionNodeFields in com.jayway.jsonpath.internal.filter declared as Predicate Modifier and Type Field Description private PredicateFilterCompiler.CompiledFilter. predicateprivate PredicateValueNode.PredicateNode. predicateMethods in com.jayway.jsonpath.internal.filter that return Predicate Modifier and Type Method Description PredicateFilterCompiler. compile()PredicateValueNode.PredicateNode. getPredicate()Constructors in com.jayway.jsonpath.internal.filter with parameters of type Predicate Constructor Description 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 Predicate Modifier and Type Field Description private java.util.LinkedList<Predicate>PathCompiler. filterStackprivate java.util.Collection<Predicate>PredicatePathToken. predicatesMethods in com.jayway.jsonpath.internal.path with parameters of type Predicate Modifier and Type Method Description static PathPathCompiler. compile(java.lang.String path, Predicate... filters)static PathTokenPathTokenFactory. createPredicatePathToken(Predicate predicate)Method parameters in com.jayway.jsonpath.internal.path with type arguments of type Predicate Modifier and Type Method Description static PathTokenPathTokenFactory. createPredicatePathToken(java.util.Collection<Predicate> predicates)Constructors in com.jayway.jsonpath.internal.path with parameters of type Predicate Constructor Description PredicatePathToken(Predicate filter)Constructor parameters in com.jayway.jsonpath.internal.path with type arguments of type Predicate Constructor Description PathCompiler(java.lang.String path, java.util.LinkedList<Predicate> filterStack)PredicatePathToken(java.util.Collection<Predicate> predicates)
-