Class JsonPathExpression.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • suppressExceptions

        public JsonPathExpression.Builder suppressExceptions​(String suppressExceptions)
        Whether to suppress exceptions such as PathNotFoundException.
      • suppressExceptions

        public JsonPathExpression.Builder suppressExceptions​(boolean suppressExceptions)
        Whether to suppress exceptions such as PathNotFoundException.
      • allowSimple

        public JsonPathExpression.Builder allowSimple​(boolean allowSimple)
        Whether to allow in inlined Simple exceptions in the JSONPath expression
      • allowEasyPredicate

        public JsonPathExpression.Builder allowEasyPredicate​(String allowEasyPredicate)
        Whether to allow using the easy predicate parser to pre-parse predicates.
      • allowEasyPredicate

        public JsonPathExpression.Builder allowEasyPredicate​(boolean allowEasyPredicate)
        Whether to allow using the easy predicate parser to pre-parse predicates.
      • writeAsString

        public JsonPathExpression.Builder writeAsString​(String writeAsString)
        Whether to write the output of each row/element as a JSON String value instead of a Map/POJO value.
      • writeAsString

        public JsonPathExpression.Builder writeAsString​(boolean writeAsString)
        Whether to write the output of each row/element as a JSON String value instead of a Map/POJO value.
      • unpackArray

        public JsonPathExpression.Builder unpackArray​(boolean unpackArray)
        Whether to unpack a single element json-array into an object.
      • id

        public T id​(String id)
        Sets the id of this node
      • trim

        public T trim​(String trim)
        Whether to trim the value to remove leading and trailing whitespaces and line breaks
      • trim

        public T trim​(boolean trim)
        Whether to trim the value to remove leading and trailing whitespaces and line breaks
      • expression

        public T expression​(String expression)
        The expression value in your chosen language syntax
      • predicate

        public T predicate​(org.apache.camel.Predicate predicate)