-
I've noticed that the `in` operator is failing when receiving `nil` values as the array.
## Context:
We have been using JSONLogic for a couple of years now to evaluate rules on serialized objects …
-
Hi,
I'm trying to use json logic scala for very common case which is accessing field in nested data object.
I have the following data structure:
`{
"booking" : {
"ref" : 123
},
"tes…
-
It would be a good improvement, to contemplate the **in** operation to work with lists and tuples.
Example:
```
rule = {"in" : [ { "var" : "temp" }, 110 ]}
data = { "temp" : [99, 100, 101]}
…
-
I want to test if a key exist and have any value.
Much like the pythonic `if variable:` statement.
example:
```
from json_logic import jsonLogic
c = {'abc': 'foo'}
```
How do I test if ke…
-
```
{
"==": [
{
"==": [
{
"var": "parameter1"
},
"Y2022"
]
},
"Undefined"
]
}
```
-
Some operators, for example `if`, `map`, `reduce` etc. have modified scope for evaluation, so that the parameters passed into these operators aren't automatically evaluated but instead conditionally e…
-
Hi,
Is it possible that statement `if` render an object ? For example :
``` js
{
if : [
test, // true or false
{ myProp : "OK" }
]
}
```
but json-logic try to **apply** functio…
-
I just tried the below line with your junit framework
{"==" : [ { "var" : "code" }, "ER"]} {"code": "ER", "name": "Exploratory Research"} true
I see the error " Error on line 2 - result is null"
A…
-
has anyone been able to integrate this beauty with ionic or angular ? if so how ?
thanks in advance !!
Cheers
-
I didn't notice whether you had or planned to develop functions that included arrays that contained objects.
So for example if wanted to return true if there is an apple pie in group of pies:
var…