Checks number of conditions (equivalent to number of sub-nodes in syntax tree) is equal to 2.
Checks number of conditions (equivalent to number of sub-nodes in syntax tree) is equal to 2. Throws an com.celadari.jsonlogicscala.exceptions.WrongNumberOfConditionsException if number of conditions different than 2.
Returns array mapped values with a given expression.
Returns array mapped values with a given expression.
operated value by operator.
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). This map of map is necessary as a composition_operator can be composed with another composition_operator which requires to be able to distinguish between values which composition_operator they belong to.
evaluated result.
(Since version ) see corresponding Javadoc for more information.