I've written a Rust port of the JSON-stat parsing logic that powers the JSON-stat JavaScript Toolkit. Then I compiled the Rust code to a WebAssembly target using Rust’s compiler toolchain.
So now you can use Rust and WebAssembly to read, traverse and transform JSON-stat responses using a subset of the jsonstat-toolkit API ("the good parts").
Because WebAssembly (Wasm) is a portable binary format, it runs code efficiently in web browsers and other environments.
https://www.npmjs.com/package/jsonstat-wasm
Xavier