package jsonm
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha512=0072f5c31080202ed1cb996a8530d72c882723f26b597f784441033f59338ba8c0cbabf901794d5b1ae749a54af4d7ebf7b47987db43488c7f6ac7fe191a042f
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.
Home page: http://erratique.ch/software/jsonm
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
README
Jsonm — Non-blocking streaming JSON codec for OCaml
v1.0.2
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 jsonmIf 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.otargetThe resulting binaries are in _build/test.
Dependencies (5)
-
uutf
> "1.0.0" -
topkg
build & >= "1.0.3" -
ocamlbuild
build -
ocamlfind
build -
ocaml
>= "4.05.0"
Dev Dependencies
None
Used by (29)
-
albatross
< "1.4.3" - bechamel-js
-
cohttp
< "6.0.0~alpha1" - decoders-jsonm
- depyt
- esgg
- ezjsonm
- ezjsonm-lwt
- hurl
-
index
>= "1.3.0" - irmin
- irmin-http
- irmin-test
- json_of_jsonm
-
ke
>= "0.5" -
memtrace_viewer
< "v0.15.0" - mrmime
-
mustache
= "3.2.0" - mustache-cli
-
opam-core
>= "2.2.0" - opam-lib
- optal
- prettym
- rdf
- rdf_json_ld
- repr
- swhid
-
syndic
>= "1.6.0" -
vif
< "0.0.1~beta2"
Conflicts
None
Build status
Results of building jsonm with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 1.0.2 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure