Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
[ANN] jsonpat
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Julien Verlaguet  
View profile  
 More options Mar 29 2010, 10:41 pm
Newsgroups: fa.caml
From: Julien Verlaguet <julien.verlag...@gmail.com>
Date: Tue, 30 Mar 2010 02:41:26 UTC
Local: Mon, Mar 29 2010 10:41 pm
Subject: [Caml-list] [ANN] jsonpat

I am proud to announce the first release of Jsonpat.
Jsonpat is a command line tool that allows to write json to json
tranformations, using
pattern-matching, directly in the shell.

For example given the file, myexample.json :
{"name":"ouipk","gender":"M","age":20}
{"name":"Cartwright",
 "age":39 }
{"age":24,"name":"Colbert","gender":"M"}

The following command extracts the values present in the field "name":

$ jsonpat -p '{name:x} -> x' myexample.json
"ouipk"
"Cartwright"
"Colbert"

The source code and documentation can be found here:
http://oss.wink.com/jsonpat/

Comments and suggestions are more than welcome.

Julien Verlaguet

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »