WORKED CASE · SYNTHETIC TEST DATA
Move a list of configuration records to TOML
An array of records requires TOML table syntax inside the array; copying JSON object punctuation would create an invalid document.
Input and settings
items:
- name: AdaRun and interpret
Convert the sample. The inline table must contain an equals sign between name and Ada, not a JSON colon.
Expected output
"items" = [{ "name" = "Ada" }]Scope and possible misuse
The root must be a mapping. TOML has no null value, so null is rejected. Review types with the consuming application; date-like YAML values remain strings.