- From: David Balatero <dbalatero@gmail.com>
- To: smparkes@smparkes.net
- Cc: chef@lists.opscode.com
- Subject: Re: some questions
- Date: Thu, 23 Apr 2009 17:26:06 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bxsHGhihxAwsl7RRn95pTfJfDlxy7J9uVNrbSvrDp8VyU8trP1QfTca3db5PDcOA7p BzWG88J5yqVWMBbCQb37ntoQnKqHe5kD9qDGPbeIrZhKKv37N3/J2ov76AKkOwqOq69Y cHEfzXXZCV2srcB2FfWNfEHEAa80WXcHghHGk=
I've written some code for work that will traverse a JSON object returned by JSON.parse, through an interface such as:
json.node("path/to/my/json/node") => single object
json.node_set("path/to/an/array") => [obj1, obj2, obj3]
If that's possibly useful, it could be incorporated (although I'm not an expert on Chef yet to know whether that would be useful or not, as I'm still get up and running at the moment...)
- david
On Thu, Apr 23, 2009 at 5:19 PM, Steven Parkes
<smparkes@smparkes.net> wrote:
> The query API is the part that sucks here
Hmmm. A JSON equivalent of xpath, anyone?
- Re: some questions, (continued)
- Re: some questions, snacktime, 04/23/2009
- Re: some questions, Adam Jacob, 04/23/2009
- Re: some questions, David Lee, 04/23/2009
- Re: some questions, Arjuna Christensen, 04/23/2009
- Re: some questions, Adam Jacob, 04/23/2009
- Re: some questions, snacktime, 04/23/2009
- Re: some questions, David Balatero, 04/23/2009
- Re: some questions, Adam Jacob, 04/24/2009
- Re: some questions, Adam Jacob, 04/24/2009
- RE: some questions, Steven Parkes, 04/24/2009
- Re: some questions, David Balatero, 04/24/2009
- Re: some questions, Adam Jacob, 04/24/2009
- Re: some questions, Arjuna Christensen, 04/24/2009
- Re: some questions, Bryan McLellan, 04/24/2009
- Re: some questions, snacktime, 04/24/2009
- Re: some questions, Arjuna Christensen, 04/24/2009
- Re: some questions, Adam Jacob, 04/24/2009
- Re: some questions, snacktime, 04/24/2009
- storing easily queried metadata - was Re: some questions, David Lee, 04/24/2009
- Re: storing easily queried metadata - was Re: some questions, David Lee, 04/24/2009
- Re: storing easily queried metadata - was Re: some questions, snacktime, 04/24/2009
Archive powered by MHonArc 2.6.16.