json-logic-js icon indicating copy to clipboard operation
json-logic-js copied to clipboard

Build complex rules, serialize them as JSON, and execute them in JavaScript

Results 83 json-logic-js issues
Sort by recently updated
recently updated
newest added

According to documentation only literals seem to be supported in comparison to each item for e.g. some / all. With the following data: { "component": { "tableNumber": 102}, "refcomponents": [...

In every other language `all()` (or `every()`) returns `true` for an empty set (see e.g. `every()` in JavaScript: ). This is because it is defined as (except with short circuiting):...

Hello, when json-logic-js library is scanned via **fortify software security center**, it detects vulnerability like the following; **_Vulnerability Description : The product does not validate or incorrectly validates input that...

Does an official JSON Schema (http://json-schema.org/) currently exists for json-logic syntax? If not, do you think it would be possible?

String Alias support methods. I am using Graphql and it supports only string keys in objects inputs so i am using an alias example: `equal` == `==` ```js var alias...

Just wondering if this line should be a `forEach` rather than `map`? https://github.com/jwadhams/json-logic-js/blob/c1dd82f5b15d8a553bb7a0cfa841ab8a11a9c227/logic.js#L380

https://developers.google.com/blockly/ Would love to see a blockly visual UI for constructing the logic. Has anyone done any work on this? This blockly does JSON creation and could be a start......

At a high level, the desire is to have the output of the JSON Logic function be an object. The use case is when serializing a function that takes some...

I need to use async operators which make network requests. Any ideas how to implement it?