An implementation of the Concise Binary Object Representation (CBOR) as specified by RFC 8949 for OCaml.
It can process CBOR data items without a complete in-memory representation of the data (see Cborl.Signal).
This library supports the CBOR basic generic data model (see CBOR Data Models) modulo following TODOs:
In addition to the basic generic data model this implementation supports:
false, true, null and undefinedCborl.Integer z items with z that is larger than what can be encoded in 8 bytes will be encoded as Bignums (tag 2 or 3 followed by a bytestring; see Section 3.4.3 of RFC 8949).Contributions are very welcome!
ocaml-cborl was initially developed for the openEngiadina project and has been supported by the NLNet Foundation trough the NGI0 Discovery Fund.