JSON query and transformation language. Can run synchronously or asynchronously.
npm install @mmkal/jsonataJSON query and transformation language
Reference implementation of the JSONata query and transformation language.
* JSONata in 5 minutes
* JSONata language documentation
* Try it out!
- npm install jsonata
In Node.js:
``javascript
const jsonata = require('jsonata');
const data = {
example: [
{value: 4},
{value: 7},
{value: 13}
]
};
(async () => {
const expression = jsonata('$sum(example.value)');
const result = await expression.evaluate(data); // returns 24
})()
`
In a browser:
`html``
See the CONTRIBUTING.md for details of how to contribute to this repo.