Class EvalFunction

  • All Implemented Interfaces:
    Function, Serializable

    public class EvalFunction
    extends FunctionBase
    implements Function
    From http://docs.jsonata.org/string-functions.html: Signature: $eval(expr [, context]) Parses and evaluates the string expr which contains literal JSON or a JSONata expression using the current context as the context for evaluation. $eval("[1,2,3]") = [1, 2, 3] $eval('[1,$string(2),3]') = [1,"2",3]
    See Also:
    Serialized Form