4 linked guides. Start at part 1 or open the chapter that matches your question.
A clear comparison of XML vs JSON—syntax, data types, attributes, schemas and tooling—so you can pick the right format and convert between them with confidence.
The rules of XML to JSON conversion: how attributes become @-prefixed keys, when repeated tags become arrays and how to keep numbers from becoming strings.
How to convert SOAP XML responses into clean JSON: strip the envelope, flatten namespaces, handle faults and build a thin adapter modern services consume.
Convert RSS and Atom feeds to JSON you can work with: the channel and entry structure, the single-item array trap and the date and HTML fields that trip people up.