Skip to main content

Make JSON records from an XML inventory

Create a JSON version of a repeated-record feed for application testing.

Set up the example

Convert the three XML records and inspect the JSON properties generated from sku, item, units and zone.

Check the result

Verify the South record contains B04 and Pens, blue. Check value types before comparing against an API schema.

Run this task

Use your own file or download the practice input below. The checks on this page describe the practice result.

Open XML to JSON directly

Continue with a related task

Open JSON Formatter · Browse all file tasks