toml

Library for TOML with a parser, a serializer and a printer
IN THIS PACKAGE
Module Toml . Min
val key : string -> Types.Table.Key.t

Turns a string into a table key.

  • raises Types.Table.Key.Bad_key

    if the key contains invalid characters.

  • since 2.0.0
val of_key_values : (Types.Table.Key.t * Types.value) list -> Types.table

Builds a Toml table out of a list of (key, value) tuples.

  • since 4.0.0