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.