IBM/JSONata4Java

Add evaluate methods with timeoutMS and maxDepth for Expression

wnm3 opened this issue · 0 comments

wnm3 commented

There is a special class called Expression that carries extra variables to manage Binding objects with variable and function declarations. The evaluate methods there call the Expressions.evaluate methods after establishing the proper environment based on a list of Binding objects. Because the Expressions.evaluate methods include guards for long running calls, or highly recursive calls, it made sense to add support for these same guards when using Bindings.