Turn a stock fixture into readable YAML
Give a reviewer a YAML version of a compact JSON test fixture.
Set up the example
Convert the example array and inspect the indentation of the entries beneath each list item.
Check the result
The YAML should contain three records. The comma in the second item name should survive a conversion back to JSON.
Run this task
Use your own file or download the practice input below. The checks on this page describe the practice result.
Continue with a related task
- Turn a CSV inventory into a YAML list
Convert header-based CSV rows to objects → Serialize the objects as a YAML sequence
- Turn a YAML stock list into JSON for review