jsonata-rs 0.3.4

An (incomplete) implementation of JSONata in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
{
    "expr": "{ type: $average(value), kind: $sum(value) } ",
    "data": [
        { "type": "a", "kind": "a", "value": 0 },
        { "type": "a", "kind": "b", "value": 1 },
        { "type": "b", "kind": "a", "value": 2 },
        { "type": "b", "kind": "b", "value": 3 }
    ],
    "bindings": {},
    "code": "T1003"
}