# JSONata JSON query and transformation language [![NPM statistics](https://nodei.co/npm/jsonata.png?downloads=true&downloadRank=true)](https://nodei.co/npm/jsonata/) [![Build Status](https://travis-ci.org/jsonata-js/jsonata.svg)](https://travis-ci.org/jsonata-js/jsonata) [![Coverage Status](https://coveralls.io/repos/github/jsonata-js/jsonata/badge.svg?branch=master)](https://coveralls.io/github/jsonata-js/jsonata?branch=master) Reference implementation of the [JSONata query and transformation language](http://jsonata.org/). * [JSONata in 5 minutes](https://www.youtube.com/embed/ZBaK40rtIBM) * [JSONata language documentation](http://docs.jsonata.org/) * [Try it out!](http://try.jsonata.org/) ## Installation - `npm install jsonata` ## Quick start In Node.js: ```javascript var jsonata = require("jsonata"); var data = { example: [ {value: 4}, {value: 7}, {value: 13} ] }; var expression = jsonata("$sum(example.value)"); var result = expression.evaluate(data); // returns 24 ``` In a browser: ```html JSONata test

``` ## More information - JSONata [documentation](http://docs.jsonata.org/) - [JavaScript API](http://docs.jsonata.org/embedding-extending) - [Intro talk](https://www.youtube.com/watch?v=TDWf6R8aqDo) at London Node User Group ## Contributing See the [CONTRIBUTING.md](CONTRIBUTING.md) for details of how to contribute to this repo.