Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A JSONQuery implementation in JavaScript

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 JSONQuery.js
Octocat-spinner-32 README
JSONQuery provides 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.

Quick Example:
    var data = {customers:[
      {name:"Susan", purchases:29},
      {name:"Kim", purchases:150}, 
      {name:"Jake", purchases:27}

    var results = JSONQuery("$.customers[?purchases > 21 & name='Jake'][\\purchases]",data);

    returns customers sorted by higest number of purchases to lowest.

For more information on JSONQuery, see:

JSONQuery is a superset of JSONPath:


To run the test suite, simply open test/test.html in your browser.
Something went wrong with that request. Please try again.