WORKED CASE · SYNTHETIC TEST DATA

Verify a server table after converting to YAML

Indentation must retain the TOML table’s hierarchy so a server setting does not become an unrelated top-level key.

Input and settings

[server]
port = 8080

Run and interpret

Convert the sample and confirm port is indented beneath server. Parse the YAML in the destination application before replacing its configuration.

Expected output

server:
  port: 8080

Scope and possible misuse

Original comments and formatting do not survive. Editing or a failed conversion clears the result so an earlier configuration cannot be mistaken for the new output.

Unexpected result? Report a minimal example