yojson
yojson copied to clipboard
Low-level JSON parsing and pretty-printing library for OCaml
This enables `ocamlformat` on the subset of the codebase that does not use CPPO.
Hello, This MR creates a Yojson_json5 library on top of Yojson adding support for JSON5, it's based on the work of @gorm-issuu and @gertsonderby It's regarding https://github.com/ocaml-community/yojson/issues/106 I have a...
This has some advantages, e.g. auto-generating the correct dune incantation as well as deduplicating some of the OPAM stanzas.
# Current state & Rationale Yojson currently supports JSON parsing as defined in RFC 8259 with a couple of extensions: variants, tuples and comments (the latter not documented). JSON is...
# Current state & Rationale Yojson currently has a semi-secret undocumented API that allows controlling the parser - when you know what the structure of the JSON is you can...
# Current state & Rationale Yojson currently supports parsing into three different variants of JSON: `Basic` (which is mostly "normal JSON"), `Safe` (JSON extended with variants and tuples and making...
Just started using Yojson, for which many thanks. I am round-tripping PDFs through JSON. https://ocaml-community.github.io/yojson/ is mostly empty and points to https://ocaml-community.github.io/yojson/yojson/index.html which is mostly empty and points to (for...
The Yojson.Raw module doesn't seem to have a Util submodule, unlike Yojson.Basic and Yojson.Safe. It would be nice to have it.
It would be nice to have the complete documentation for download as pdf. (Or at least a one-page html to create a pdf via browser).
When using this library with jsoo, a single reference to the library adds 64k to the js output. This is 20% of the total size of the application. This happens...