package data-encoding

  1. Overview
  2. Docs
Library of JSON and binary encoding combinators

Install

Dune Dependency

Authors

Maintainers

Sources

data-encoding-v0.4.tar.gz
md5=7b687e25619637d40d2bbcd2c21b00c2
sha512=65e33b1a56e9058a2e9c7f3dc18cb72c21270e0e5b9584fe856285d16e4cb8e98adac826373d4109a5e080486ec31cdd9870b402249ac5d55c7b0de6ffb68b0a

CHANGES.md.html

CHANGES.md

v0.1: Initial Release

v0.1.1:

  • customizable initial size for internal buffer

  • remove single lwt related function and lwt dependency

v0.2:

  • CI tests

  • error management improvements (use result, allow exn and option)

  • do not print 0-sized fields in binary descriptions

v0.3:

  • Adapt to json-data-encoding.0.9.1 and provide json-lexeme seq to string seq

  • Improved performance

  • maximum_length to determine static size bounds (when possible)

  • provide to_/of_string alongside to_/of_bytes

  • Improved documentation

  • Increase test coverage

  • Fix JSON encoding of Result

v0.4:

  • catch exceptions in user-provided functions

  • provide conv_guard to help enforce invariants

  • remove unused read_error constructor: Invalid_size

  • check that int31 is actually within int31 bounds

  • add "slicing" feature to analyse binary encoded values

OCaml

Innovation. Community. Security.