|
|
|
|
|
by Finnucane
595 days ago
|
|
A nice demonstration of how JSON is a stupid way to manage complex text documents. It is not clear why that would be better than an xml-type arrangement like <step>cut your <ing>apple</ing> into slices<step> Or even just plain text. |
|
The simple use case for XML is always easy, but then it always ends up looking like this:
Plain text is great and all as a display format but it sucks even more than XML to parse as a data format.You can make JSON that's just as stupid as XML but especially if you have people hand-writing XML, it invites a lot of complexity for a little more expressiveness. If you need to, you can always have flatter XML markup in JSON fields to avoid the large scale recursive structural insanity when parsing.