datalogic-rs 4.0.21

A fast, type-safe Rust implementation of JSONLogic for evaluating logical rules as JSON. Perfect for business rules engines and dynamic filtering in Rust applications.
Documentation
[
    {
        "description": "Divide with dynamic empty array",
        "rule": { "/": { "preserve": [] } },
        "error": { "type": "Invalid Arguments" },
        "data": null
    },
    {
        "description": "Divide with dynamic unary array",
        "rule": { "/": { "preserve": [2] } },
        "result": 0.5,
        "decimal": true,
        "data": null
    },
    {
        "description": "Divide with dynamic array",
        "rule": { "/": { "preserve": [8, 2] } },
        "result": 4,
        "data": null
    }
]