package toml

  1. Overview
  2. Docs
val value : Format.formatter -> TomlTypes.value -> unit

Given a Toml value and a formatter, inserts a valid Toml representation of this value in the formatter.

  • since 2.0.0
val table : Format.formatter -> TomlTypes.table -> unit

Given a Toml table and a formatter, inserts a valid Toml representation of this value in the formatter.

  • since 2.0.0
val array : Format.formatter -> TomlTypes.array -> unit

Given a Toml array and a formatter, inserts a valid Toml representation of this value in the formatter.

  • raises Invalid_argument

    if the array is an array of tables

  • since 2.0.0
val string_of_value : TomlTypes.value -> string

Turns a Toml value into a string.

  • since 4.0.0
val string_of_table : TomlTypes.table -> string

Turns a Toml table into a string.

  • since 4.0.0
val string_of_array : TomlTypes.array -> string

Turns a Toml array into a string.

  • since 4.0.0
OCaml

Innovation. Community. Security.