Hacker News new | ask | show | jobs
by goto11 1167 days ago
Yeah, now express this in JSON:

   <div>
     <p>JSON example:</p>
     <pre>
      [
        {"title": "Led Zeppelin II", "artist": "Led Zeppelin", "price": 999},
        {"title": "La Brise", "artist": "Arax", "price": 999},
      ]
     </pre>
     <p>Source: <a href="https://news.ycombinator.com/item?id=35472014">click here</a>!</p>
   </div>
JSON is great for a certain domains, but there are other domains where it is a nightmare and XML shines.

Use the right tool for the job.