jsonata 0.0.0

An (incomplete) implementation of JSONata in Rust
Documentation
1
2
3
4
5
6
{
    "expr": "($square := function($x){$x*$x};$chain := λ($f, $g){λ($x){ $x ~> $f ~> $g }};$instructions := [$sum, $square, $string];$sumsq := $instructions ~> $reduce($chain);[1..5] ~> $sumsq()) ",
    "dataset": null,
    "bindings": {},
    "result": "225"
}