Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=0166df7b74306cfeebaff2dc8ea533be
sha512=f1331ab4820546bc1bcae430888f9a7385030e62a133fb8606d0b134e921fe1bf3f730533ed4c99f683fe149e7aeafbc291b51fb20b173a543b380f948700c18
Description
Added to opam-repository:
README
ocplib-json-typed
This library is a collection of type-aware JSON utilities for OCaml.
Json_encodingcontains an'a encodingtype that represents the JSON encoding of OCaml values of type'a, and a collection of combinators to build them. These encodings can be used to serialize / deserialize OCaml values to / from JSON documents. JSON schemas can also be generated automatically to produce documented, interoperable JSON formats.Json_schemacontains an OCaml intermediate representation for the JSON schema document grammar description language, along with translators to / from the concrete JSON schema format.Json_querycontains various utilities to manipulate, introspect and update JSON data.Json_reprdefines an abstraction over JSON representations. This module is mainly useful when using the functorial interface of the library, or if you use several JSON libraries in your program and want to convert data from one JSON representation to another.
The type of JSON documents handled by this library is directly compatible with ezjsonm, but converters are provided for yojson users, and an advanced functorial interface allows you to use any JSON representation. Two other representations are also provided.
Json_repr_browserinterfaces JavaScripts objects. It is available only when compiling to JavaScript viajs_of_ocaml. Provided by the extra packageocplib-json-typed-browser.Json_repr_bsonis an implementation of a subset of BSON. Provided by the extra packageocplib-json-typed-bson.
Thanks to polymorphic variants, this library does not depend on any JSON library, so you are free to use whichever you want for printing and parsing.
Dependencies (4)
-
js_of_ocaml
>= "3.3.0" -
ocplib-json-typed
= "0.7.1" -
dune
>= "1.0.1" -
ocaml
>= "4.03.0"
Dev Dependencies
None
Optional Dependencies
None
Used by (1)
Conflicts
None
Build status
Results of building ocplib-json-typed-browser 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 |
|---|---|---|---|---|---|
| 0.7.1 (this version) | good | n/a | n/a | n/a | n/a |
- 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