English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ANN] jsonpat
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-03-30 (02:41)
From: Julien Verlaguet <julien.verlaguet@g...>
Subject: [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 :
 "age":39 }

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

$ jsonpat -p '{name:x} -> x' myexample.json

The source code and documentation can be found here:

Comments and suggestions are more than welcome.

Julien Verlaguet