jsonpath

JSONPath or other XPath like utility for JSON/Javascript; or Jquery JSON

I have been looking at JSONPath and though it seems pretty well done, I wonder if anyone has worked with it and can comment on its usability, or can recommend alternatives? What would be really slick is if there was a plugin for JQuery that did something like this. I have been searching the plugins and coming up empty handed. Anyway, ...

JSON best practices: filtering nodes client side or not?

In my database I store a number of "topics" and "examples". Each example belongs to one topic. I'd like show all the topics by name ASC in a tree component except for one topic (Topic C) which I always want on top. This may though come to change later and I'd rather not change the basic JSON output of topics and examples from the DB. 1...

how to filter / query date using dojox.jsonPath.query

I am referring to use http://www.sitepen.com/blog/2008/03/17/jsonpath-support/ This is what I am doing (spent two days but no luck): first drawing a datagrid with integer column and a date column and also able to sort the columns values by clicking on the column header.. now using dojox.jsonPath.query to query numbers using syntax lik...

JSONPath :contains filter

Hey all, I was wondering if any knew of a way to use a regular expression or wildcard operator (or pehaps '%LIKE%' in SQL) so I could use JSONPath to do searching within a large set of JSON data. For instance (and yes, I'm parsing, not eval( )ing my data in the app): var obj = eval ( '({ "hey": "can you find me?" })' ); And I'd like ...

Craft a JSONpath expression so that it retrieves only a specific value?

Hello, I have some JSON of which the following is a small sample: results": { "div": [ { "class": "sylEntry", "id": "sylOne", "div": [ { "class": "sT", "id": "sOT", "p": "Mon 11/17, Computer work time" }, { "class": "des", "id": "dOne", "p": "All classes Siebel 0218" } ] }, I would like to only retrieve ...