This document compares XML and JSON formats. It finds that JSON is generally lighter in size and faster to parse than XML, though properly formatted XML is only slightly larger in size than JSON. A series of tests were conducted using different data payloads and parsing methods to analyze the performance of XML and JSON.