toml.json

Conversion between JSON and TOML.

Members

Functions

toJSON
JSONValue toJSON(TOMLValue toml)
JSONValue toJSON(TOMLDocument doc)

Converts a TOMLValue to a JSONValue. Note: datetimes are converted to strings.

toTOML
TOMLValue toTOML(JSONValue json)

Convert a JSONValue to a TOMLValue.

Meta