package ezjsonm

All checked builds pass
  1. Overview
  2. Docs
Simple interface on top of the Jsonm JSON library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ezjsonm-1.3.0.tbz
sha256=08633e0f0e767a8ae81935ca7e74f1693b85a79c4502d568eedff5170f0cd77b
sha512=b731036384115603af9187464695418d27b7cf6f763c8dbc0812db62a7657cac1b6019d3b205b1c95ae81b7dab0bd4037390d977ee8c122bef29a9ddef771e18

Description

Ezjsonm 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.

Tags

org:mirage org:ocamllabs

Added to opam-repository:

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"

Dependencies (6)

  1. hex
  2. sexplib0
  3. uutf
  4. jsonm >= "1.0.0"
  5. dune >= "2.0"
  6. ocaml >= "4.08.0"

Dev Dependencies (3)

  1. conf-npm with-test
  2. js_of_ocaml-compiler with-test
  3. alcotest with-test & >= "1.5.0"

Optional Dependencies

None

Used by (55)

  1. bap-phoenix
  2. camyll < "0.2.0" | >= "0.4.1"
  3. carbon
  4. cow
  5. data-encoding
  6. decoders-ezjsonm
  7. dkml-dune-dsl-show
  8. dune-compiledb
  9. equinoxe
  10. ez_api
  11. ezjsonm-encoding
  12. ezjsonm-lwt >= "1.3.0"
  13. farfadet
  14. fit < "1.2.0"
  15. gendarme-ezjsonm
  16. geojson
  17. geojsone
  18. gitlab >= "0.1.3" & < "0.1.7"
  19. jekyll-format >= "0.2.0"
  20. learn-ocaml
  21. learn-ocaml-client
  22. MlFront_Cli < "2.3.1"
  23. MlFront_Codept
  24. mastodon-archive-viewer
  25. mustache >= "3.1.0" & < "3.3.0"
  26. mustache-cli
  27. obi
  28. ochre
  29. ochre-cli
  30. ocveralls
  31. opam-bin >= "0.9.5" & < "1.1.0"
  32. opam_bin_lib
  33. opium = "0.18.0"
  34. plotly
  35. ppx_deriving_ezjsonm
  36. ppx_deriving_yaml < "0.2.2"
  37. ppx_protocol_conv_jsonm
  38. ppx_yojson >= "1.2.0"
  39. qcow
  40. qcow-tool
  41. reddit_api_async
  42. reddit_api_kernel
  43. resto >= "0.6"
  44. soupault
  45. spatial-shell
  46. terminus
  47. textmate-language >= "0.3.0"
  48. tezt
  49. timmy-unix >= "1.1.5"
  50. topojson
  51. topojsone
  52. xapi-rrd < "1.9.0"
  53. yaml
  54. yaml-sexp
  55. yurt

Conflicts

None

Build status

Results of building ezjsonm 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.3.0 (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