4 ms·
Writing something like "<p>This is a statement with <strong>bold text</strong></p>" does not really translate well to JSON.
by mcrider 13y ago
Writing something like "<p>This is a statement with <strong>bold text</strong></p>" does not really translate well to JSON.
- cheald 13y agoSure it does. { type: "tag", tag: "p", children: [ {type: "text", content: "This is a statement with "}, {type: "tag", tag: "strong", children: [ {type: "text", content: "bold text"} ]} ] } That also rather explains why we don't use JSON.