Jsonm — Non-blocking streaming JSON codec for OCaml
Jsonm is a non-blocking streaming codec to decode and encode the JSON data format. It can process JSON text without blocking on IO and without a complete in-memory representation of the data.
Jsonm is made of a single module and depends on Uutf. It is distributed under the ISC license.
Home page: http://erratique.ch/software/jsonm
Contact: Daniel Bünzli
Jsonm can be installed with
opam install jsonm
If you don't use
opam consult the
opam file for build instructions.
The documentation and API reference is automatically generated by
ocamldoc from the interfaces. It can be consulted online and there is a generated version in the
doc directory of the distribution.
If you installed jsonm with
opam, it installed the
jsontrip binary which, among other things, reads JSON on
stdin and rewrites it on
stdout; invoke with
-help for more information. Sample code is located in the directory
opam config var jsonm:doc.
In the distribution sample programs are located in the
test directory of the distribution. They can be built with:
ocamlbuild -use-ocamlfind test/tests.otarget
The resulting binaries are in