2 ms·
I would say XML vs JSON makes little difference to the complexity of an application (e.g., an editor) using it.
by cryptonector 8y ago
I would say XML vs JSON makes little difference to the complexity of an application (e.g., an editor) using it.
- deleted 8y ago[deleted]
- ZenPsycho 8y agomanipulating JSON (really, just plain native language objects) is way more straightforward than manipulating the XML dom. The purpose of formats like this is to make inexpressible the kinds of documents that result in difficult to untangle bugs, and frustrating UI behaviour. See this article about how Medium's editor was designed for some essential background of the motivation for this JSON format https://medium.engineering/why-contenteditable-is-terrible-122d8a40e480 https://medium.engineering/why-contenteditable-is-terrible-1...