JSONata is a lightweight query and transformation language for JSON data. Inspired by the 'location path' semantics of XPath 3.1, it allows sophisticated queries to be expressed in a compact and intuitive notation. A rich complement of built in operators and functions is provided for manipulating and combining extracted data, and the results of queries can be formatted into any JSON output structure using familiar JSON object and array syntax. Coupled with the facility to create user defined functions, advanced expressions can be built to tackle any JSON query and transformation task.
Implementations of JSONata
|C||https://github.com/qlyoung/jsonata-c||Runs JSONata in embedded JS engine||1.8.3|
|Java||https://github.com/dashjoin/jsonata-java||Native port of reference||2.0.3|
|Python||https://github.com/qlyoung/pyjsonata||API bindings based on C bindings||1.8.3|
|Rust||https://github.com/johanventer/jsonata-rust||Implementation work in progress|
Find out more
- Introduction at London Node User Group meetup