Class EasyPredicateParser
java.lang.Object
org.apache.camel.jsonpath.easypredicate.EasyPredicateParser
To allow defining very easy jsonpath predicates using the syntax: left OP right
The easy parser is only in use if the predicate do not start with the $ sign which is used by jsonpath. The
parser is intended for predicates only.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
EasyPredicateParser
public EasyPredicateParser()
-
-
Method Details
-
parse
Parses the predicate- Parameters:
predicate
- the predicate- Returns:
- the parsed predicate or the original predicate if easy parser did not kick-in
-