Class EasyPredicateParser


  • public class EasyPredicateParser
    extends Object
    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 Detail

      • EasyPredicateParser

        public EasyPredicateParser()
    • Method Detail

      • parse

        public String parse​(String predicate)
        Parses the predicate
        Parameters:
        predicate - the predicate
        Returns:
        the parsed predicate or the original predicate if easy parser did not kick-in