Hacker News new | ask | show | jobs
by tracker1 2519 days ago
JSON is a very lightweight text serialization that can closely resemble your in-memory object structure. By Contrast XML support way more methods of serialization that are more complex and/or less clear in practice.

They could use a different file extension and even gzip the file as well. I often use line separated JSON+GZ as an interchange format for records.