package ezjsonm
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=716a2554a6c208cfed7878b1ce1d90030cf22ea40d896fccb2999670f5cfed6e
md5=97ed286b2a4937411779e895350df061
Description
This version provides more convenient (but far less flexible) input and output functions that go to and from [string] values. This avoids the need to write signal code, which is useful for quick scripts that manipulate JSON.
More advanced users should go straight to the Jsonm library and use it directly, rather than be saddled with the Ezjsonm interface.
README
Ezjsonm
An easy interface on top of the Jsonm library.
This version provides more convenient (but far less flexible) input and output functions that go to and from [string] values. This avoids the need to write signal code, which is useful for quick scripts that manipulate JSON.
More advanced users should go straight to the Jsonm[1] library and use it directly, rather than be saddled with the Ezjsonm interface.
Examples
For instance, you can explore the HTTP status code specified in the JSON format here. After downloading that file, you can open an OCaml toplevel and write:
# #require "ezjsonm";;
# let json = Ezjsonm.from_channel (open_in "4.json");;
# Ezjsonm.(get_string (find json ["codes"; "418"; "summary"]))
- : string = "I'm a teapot"
Dev Dependencies (1)
-
alcotest
with-test & >= "0.4.0"
Optional Dependencies
None
Used by (35)
- bap-phoenix
- cow
-
data-encoding
< "1.0.0" - decoders-ezjsonm
- farfadet
- geojson
- geojsone
-
gitlab
>= "0.1.3" & < "0.1.7" -
learn-ocaml
< "1.0.0" - learn-ocaml-client
-
mastodon-archive-viewer
< "0.4.0" - mirage-tc
-
mustache
>= "3.1.0" & < "3.3.0" - mustache-cli
- obi
- ochre
- ochre-cli
- ocveralls
-
opium
= "0.18.0" -
opium_kernel
< "0.18.0" - plotly
- ppx_deriving_ezjsonm
-
ppx_deriving_yaml
< "0.2.2" - ppx_protocol_conv_jsonm
-
ppx_yojson
>= "1.2.0" - qcow
- qcow-tool
-
resto
>= "0.6" -
soupault
< "3.2.0" - topojson
- topojsone
-
xapi-rrd
< "1.9.0" - yaml
- yaml-sexp
- yurt
Conflicts
None
Build status
Results of building ezjsonm with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. 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.
This version is not in the latest run; the versions below are.
- 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