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": "$sort(Account.Order.Product, function($a, $b) { $a.(Price * Quantity) > $b.(Price * Quantity) }).(Price & \" x \" & Quantity)",
    "dataset": "dataset5",
    "bindings": {},
    "result": [
        "21.67 x 1",
        "34.45 x 2",
        "107.99 x 1",
        "34.45 x 4"
    ]
}