Compact YAML with flow-style collections while preserving parsed values.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The YAML document is parsed and serialized with flow collections where configured, reducing block indentation and line breaks. Comments and original formatting are not retained as data.
users:
- name: Alice
email: [email protected]
roles:
- admin
- editor
- name: Bob
email: [email protected]
roles:
- viewer
{users: [{name: Alice, email: [email protected], roles: [admin, editor]}, {name: Bob, email: [email protected], roles: [viewer]}]}
Environment values, build artifacts, and compact configuration snapshots use flow YAML.