Skip to main contentCrate c12_parser
Source - FormatInfo
- Information about formatting (indentation and outer whitespace)
captured from the original text.
- FormatOptions
- Options that control how formatting is detected and preserved.
- Formatted
- A value bundled with its detected formatting information.
- JsoncExtraOptions
- Extra options for JSONC parsing.
- parse_ini
- Parses an INI string into a simple nested map structure:
HashMap<section, HashMap<key, Option<value>>>. - parse_json
- Parses a JSON string into a value, capturing its formatting.
- parse_json5
- Parses a JSON5 string into a value, capturing its formatting.
- parse_jsonc
- Parses a JSONC string into a serde_json::Value, capturing formatting.
- parse_toml
- Parses a TOML string into a value, capturing outer whitespace only.
- parse_yaml
- Parses a YAML string into a value, capturing outer whitespace only.
- stringify_ini
- Stringifies an INI-like nested map back into INI text.
- stringify_json
- Stringifies a JSON value with preserved or configured formatting.
- stringify_json5
- Stringifies a JSON5 value with preserved or configured formatting.
- stringify_jsonc
- Stringifies a JSONC value (as plain JSON) with preserved formatting.
- stringify_toml
- Stringifies a TOML value with preserved outer whitespace.
- stringify_yaml
- Stringifies a YAML value with preserved outer whitespace.