Module toml

Module toml 

Source
Expand description

Implementations of Toml cheatcodes.

Functionsยง

format_json_to_toml ๐Ÿ”’
Format a JSON value to a TOML pretty string.
json_to_toml_value ๐Ÿ”’
Convert a JSON value to a TOML value.
parse_toml ๐Ÿ”’
Parse a TOML string and return the value at the given path.
parse_toml_coerce ๐Ÿ”’
Parse a TOML string and return the value at the given path, coercing it to the given type.
parse_toml_keys ๐Ÿ”’
Parse a TOML string and return an array of all keys at the given path.
parse_toml_str ๐Ÿ”’
Parse
toml_to_json_string ๐Ÿ”’
Convert a TOML string to a JSON string.
toml_to_json_value ๐Ÿ”’
Convert a TOML value to a JSON value.