3 ms·
Nobody is talking about editing the JSON directly. They are talking about programming a wysiwyg editor to the JSON data model.
by ZenPsycho 8y ago
Nobody is talking about editing the JSON directly. They are talking about programming a wysiwyg editor to the JSON data model.
- cryptonector 8y agoI 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...