Package com.jayway.jsonpath
Interface Predicate.PredicateContext
- All Known Implementing Classes:
PredicateContextImpl
- Enclosing interface:
Predicate
public static interface Predicate.PredicateContext
-
Method Details
-
item
Object item()Returns the current item being evaluated by this predicate- Returns:
- current document
-
item
Returns the current item being evaluated by this predicate. It will be mapped to the provided class- Returns:
- current document
- Throws:
MappingException
-
root
Object root()Returns the root document (the complete JSON)- Returns:
- root document
-
configuration
Configuration configuration()Configuration to use when evaluating- Returns:
- configuration
-