public
Description: 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.
Homepage: http://littlejavascripter.wordpress.com/
Clone URL: git://github.com/JasonSmith/jsonquery.git
name age message
file JSONQuery.js Fri Nov 14 13:18:16 -0800 2008 Modofied [JasonSmith]
file README Fri Nov 14 13:19:33 -0800 2008 Modofied [JasonSmith]
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 Examples:
    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);
    results 
    
    returns customers sorted by higest number of purchases to lowest.
    
    
For more advanced querying capabilities, see:
http://www.sitepen.com/blog/2008/09/23/effortless-offline-with-offlinerest/