package cbor

  1. Overview
  2. Docs
CBOR encoder/decoder (RFC 7049) - native OCaml implementation

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-cbor-0.5.tar.gz
md5=f2897047d4f2f8ad770b6a37c1b05d51
sha256=e26a66fdfbfd5f9b854503bc5ea0613a9c58c19ade12d2777b123037a62e94a3
sha512=13e3c019f620fc069c6dd0b940053b6ab48f3dd1eea7defd40542b6e253017d3fc99756a2c2f314e7425904a4dd9901d54b305019fcbc54e9917ed0789524b2a

doc/cbor/CBOR/Simple/index.html

Module CBOR.SimpleSource

Sourcetype t = [
  1. | `Null
  2. | `Undefined
  3. | `Simple of int
  4. | `Bool of bool
  5. | `Int of int
  6. | `Float of float
  7. | `Bytes of string
  8. | `Text of string
  9. | `Array of t list
  10. | `Map of (t * t) list
  11. | `Tag of int * t
]
Sourceval encode : t -> string
Sourceval decode : string -> t
Sourceval decode_partial : string -> t * string
Sourceval to_diagnostic : t -> string
OCaml

Innovation. Community. Security.