|
|
|
|
|
by chubot
4498 days ago
|
|
I think Steve Yegge (in another post) said it surprisingly well, and simply. Paraphrasing: If you have more data than text, use JSON. If you have more text than data, use XML/HTML. Imagine HTML documents encoded in JSON -- in that case JSON would be ugly and annoying to edit. Now imagine (the more common situation of) structured data serialized as XML. That is ugly and annoying to edit. Use the right tool for the right job. :) |
|