Returns evaluated result of scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore.
Returns evaluated result of scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore. A com.celadari.jsonlogicscala.tree.JsonLogicCore is a scala data structure that represents a json-logic-typed. A json-logic-typed object represents an expression. This method evaluates the underlying expression represented by a scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore. Before evaluation, the underlying syntax tree is traversed - using com.celadari.jsonlogicscala.evaluate.CompositionOperator.ComposeJsonLogicCore - and any com.celadari.jsonlogicscala.tree.ValueLogic object representing a variable (of a com.celadari.jsonlogicscala.evaluate.CompositionOperator) is replaced by an com.celadari.jsonlogicscala.tree.VariableLogic object recursively.
evaluated result.
Returns evaluated result of corresponding condition (node in syntax tree).
Returns evaluated result of corresponding condition (node in syntax tree). This method carries a map of map of (composition_operator -> map(variable_name -> variable_value)) to fetch the value of variable (depends on the composition_operator and the values this composition_operator is applied to).
evaluated result.
Returns evaluated result of corresponding condition (internal node in syntax tree).
Returns evaluated result of corresponding condition (internal node in syntax tree). This method carries a map of map of (composition_operator -> map(variable_name -> variable_value)) to fetch the value of variable (depends on the composition_operator and the values this composition_operator is applied to).
evaluated result.
Returns transformed value of leaf node in syntax tree before evaluation.
Returns transformed value of leaf node in syntax tree before evaluation.
transformed value.
(Since version ) see corresponding Javadoc for more information.
Responsible for evaluating scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore. May be extended to fit custom use cases. Providing the right configuration via com.celadari.jsonlogicscala.evaluate.EvaluatorLogicConf is enough to cover most cases. You may redefine methods to handle extreme uncommon cases.