std::encoding::toml

Status: shipped

TOML 1.0 parsing + emission. Pair with <Type>::from_toml for typed decoding (struct auto-derive).

Public items

Name Kind Description
to_json fn Convert TOML text to JSON text; returns Result.
from_json fn Render JSON text as TOML text; returns Result.
is_valid fn Return true iff the string parses as TOML.
pretty fn Round-trip TOML through the pretty-printer.