-
Hello.
Is there a way (out of the box) to use a global variable in the iteration operators like "some" or another way to create a similar rule?
I need to do this.
Example:
Note: global_var d…
-
I have created golang implementation of json-logic:
https://github.com/HuanTeng/go-jsonlogic
-
Rule: {"max":[{"var" : "integers"}]}
Data: {"integers":[1,2,3,4,5]}
Always return null.
-
It looks like the "some", "all", "none" operators are not implemented.
Anyone planning to add them?
-
I'm using a jsonlogic standard to create some queries, but on react query builder I didn't see a way to create custom operators like `plus`, `minus`, `multiply` with some constraints
- `Multiply` a…
-
It works if I have < or > condition for "===" and "!==" won't work
![Play with JsonLogic in your Browser](https://user-images.githubusercontent.com/4018236/91434927-331ff380-e86e-11ea-8298-d05ccc7b9a…
-
This doesn't give the expected result:
```
let logic = {
"max": {
"var": "myarray"
}
}
let data = {
"myarray": [
1,
2,
3
]
}
JSONLogic.apply(logic,data)
re…
-
Assuming the JavaScript implementation if JsonLogic is normative, then the substr implementation in this library is wrong. This is because in JavaScript strings are stored as UTF-16 in memory and inde…
panzi updated
3 years ago
-
The following rule should evaluate as "false", but instead evaluates as "true".
{"!": {"==": ["a", "a"]}}
-
I encountered this exception when trying to let JsonLogic return a two-keyed object:
`{
"resultType": "statistics",
"resultValue": 2
}`
Is there any method to return Json object as re…
0019 updated
9 months ago