- Will the YAML round-trip back to identical JSON?
- Yes for standard types. Strings, numbers, booleans, arrays, and objects convert losslessly. Comments can't round-trip (JSON has no comments).
- Flow or block style?
- Block style by default — multi-line, hierarchical. Compact JSON-like flow style is available for one-liners.
- How are multi-line strings handled?
- Strings with newlines use YAML's `|` block literal (preserves newlines). Single-line strings stay inline.
- Does it support YAML anchors?
- Not from plain JSON — anchors require explicit references that JSON can't express. For anchor-using YAML, write it by hand.