jsonql

An extended version of JSONPath with additional data filtering, sorting, mapping, and matching. A port of dojo JSONQuery.

Usage no npm install needed!

<script type="module">
  import jsonql from 'https://cdn.skypack.dev/jsonql';
</script>

README

jsonql

An extended version of JSONPath with additional features for security, ease of use, and a comprehensive set of data querying tools including filtering, recursive search, sorting, mapping, range selection, and flexible expressions with wildcard string comparisons and various operators.

This is a dependency-free port of JSONQuery from dojox.json.query.

By Kris Zyp Ported by David Bau

Version 0.0.2

Usage

jsonql = require('jsonql');
results = jsonql(query, object);

See test/test.js for more examples, and see:

http://dojotoolkit.org/reference-guide/1.10/dojox/json/query.html

http://goessner.net/articles/JsonPath/