package jsonm

  1. Overview
  2. Docs
Non-blocking streaming JSON codec for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonm-1.0.0.tbz
sha256=c258ea713d25445341774cf085fa0cf7d2a570c34d5a8d84a49716939ab174ec
md5=d1ec89c9586c5413f39f7f1fef74dc1a

Description

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.

The alternative "uncut" codec also processes whitespace and (non-standard) JSON with JavaScript comments.

Jsonm is made of a single module and depends on Uutf. It is distributed under the ISC license.

Tags

json codec org:erratique

Published: 24 Nov 2016

README

Jsonm — Non-blocking streaming JSON codec for OCaml

v1.0.0

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.

The alternative "uncut" codec also processes whitespace and (non-standard) JSON with JavaScript comments.

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 <daniel.buenzl i@erratique.ch>

Installation

Jsonm can be installed with opam:

opam install jsonm

If you don't use opam consult the opam file for build instructions.

Documentation

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.

Sample programs

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 _build/test.

Dependencies (6)

  1. uutf >= "1.0.0"
  2. uchar < "0.0.2"
  3. topkg build
  4. ocamlbuild build
  5. ocamlfind build
  6. ocaml >= "4.01.0" & < "4.05.0"

Dev Dependencies

None

Used by (25)

  1. albatross < "1.4.0"
  2. bechamel-js
  3. cohttp >= "0.99.0" & < "6.0.0~alpha0"
  4. decoders-jsonm
  5. depyt
  6. elf2json
  7. esgg
  8. ezjsonm
  9. ezjsonm-lwt
  10. index >= "1.3.0"
  11. irmin >= "1.0.0"
  12. irmin-http >= "2.3.0"
  13. irmin-test >= "2.3.0"
  14. json_of_jsonm
  15. ke >= "0.5"
  16. libres3
  17. mrmime
  18. octez-internal-libs
  19. opam-core < "2.0.0~beta5" | >= "2.2.0~alpha"
  20. opam-lib >= "1.2.0"
  21. prettym
  22. rdf >= "0.11.0" & < "1.0.0"
  23. repr
  24. syndic >= "1.6.0"
  25. travis-opam >= "1.2.0"

Conflicts

None

OCaml

Innovation. Community. Security.