package jsont

  1. Overview
  2. Docs
Declarative JSON data manipulation for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

jsont-0.2.0.tbz
sha512=6206f73a66cb170b560a72e58f70b9fb2c20397b9ab819dceba49b6602b9b79e47ba307e6910e61ca4694555c66fdcd7a17490afb99548e8f43845a5a88913e7

doc/CHANGES.html

v0.2.0 2025-07-25 Zagreb

  • Fix Jsont_bytesrw.{encode,encode'}. Do not write the eod slice if eod:false is specified. Thanks to Benjamin Nguyen-Van-Yen for the report and the fix (#8).
  • Fix Jsont.zero failing encodes rather than encoding null as advertised. Thanks to Adrián Montesinos González for the report (#6).
  • Add Jsont.Error.expected to help format error messages.
  • Add Jsont.with_doc to update kind and doc strings of existing JSON types.
  • Add Jsont.Object.Case.{tag,map_tag} to access a case and case map tags.
  • Fix META file. Really export all requires and remove uneeded bytesrw dependency from jsont library.

v0.1.1 2024-12-06 La Forclaz (VS)

  • Jsont.Object.Mems.map make encoding and decoding optional. Like in every other map.
  • Jsont.Array.map make encoding and decoding optional. Like in every other map.
  • Jsont_bytesrw.encode change the default buffer size to match the one hinted by the writer rather than Bytesrw.Bytes.Slice.io_buffer_size.
  • jsont.{bytesrw,brr} export all requires.
  • jsont tool remove spurious dependency on b0.std (#2).

v0.1.0 2024-11-29 Zagreb

First release.

Supported by a grant from the OCaml Software Foundation.

OCaml

Innovation. Community. Security.