Skip to main content

Build an XML stock feed from JSON records

Prepare an XML counterpart of a JSON fixture for a system that consumes tagged records.

Set up the example

Convert the array and inspect how each record’s keys become XML elements.

Check the result

Check the representation of B04 and make sure its item value and quantity have stayed together.

Run this task

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

Open JSON to XML directly

Continue with a related task

Open XML Validator · Browse all file tasks