package toml

  1. Overview
  2. Docs
Library for TOML with a parser, a serializer and a printer

Install

dune-project
 Dependency

Authors

Maintainers

Sources

7.1.0.tar.gz
sha256=1d4e9c16ed9e24d46dd757ce94adc7fc8b2068eb5ff7cd2a70fce08135a752ef
sha512=9cb98e4a9c4a01acf5ceeac836fe0dc4d341662f9b3ce6803e9d14499bcb450441111247159bdbc5c25d4618b8c1f088d206da702bef12ea1ca8781607d26774

doc/toml/Toml/Printer/index.html

Module Toml.PrinterSource

Sourceval value : Format.formatter -> Types.value -> unit

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

  • since 2.0.0
Sourceval table : Format.formatter -> Types.table -> unit

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

  • since 2.0.0
Sourceval array : Format.formatter -> Types.array -> unit

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

  • since 2.0.0
Sourceval string_of_value : Types.value -> string

Turns a Toml value into a string.

  • since 4.0.0
Sourceval string_of_table : Types.table -> string

Turns a Toml table into a string.

  • since 4.0.0
Sourceval string_of_array : Types.array -> string

Turns a Toml array into a string.

  • since 4.0.0