View on GitHub

OCamlverse

Documenting everything about OCaml

Edit

File Formats

Serialization

JSON

  • yojson: an optimized parsing and printing library for the JSON format.
    • ppx_yojson_conv: A solid ppx_deriving solution for automatically deriving JSON serializers from types. Other solutions are not recommended.
    • yojson_ppx: Write yojson-oriented code more easily and concisely.
  • jsonm: non-blocking streaming JSON codec for OCaml.
  • ezjsonm: library to simplify usage of jsonm.
  • jsonxy: RFC-compliant JSON library. docs.
  • data-encoding: A library for JSON and binary encoding of values.

XML

  • Markup: streaming, lazy parser for XML and HTML5.
  • xmlm: a streaming codec to decode and encode the XML data format.
  • easyxmlm: easy to use wrapper over xmlm.

YAML

Others

  • sexplib: a S-expression parser and printer
  • biniou: extensible binary data format, like JSON but faster.
  • ocaml-protoc pure OCaml implementation of Protobuf with binary, Yojson and BuckleScript JSON support.
  • bin_prot efficient, type-safe binary protocol specific to OCaml.
  • camlon: configuration and serialization format similar to JSON but with an OCaml feel.

Data Science Files

  • npy: read and write the numpy file format.
  • hdf5-OCaml: OCaml implementation of hdf5 reader/writer. Mostly used in data science.

Miscellaneous

  • camlPDF: OCaml library for reading, writing and modifying PDF files.
  • bencode: Bencode (.torrent file format) reader/writer.
  • Decompress: a pure OCaml implementation of Zlib.
  • Easy-xslx: read Microsoft Office Open XML files.
  • hevea: library to convert LaTex to html. Used for the OCaml manual
  • ocaml-pandoc: Interface to pandoc, a universal markup converter.