4 ms·
Wouldn't it have to? It does stand for JavaScript Object Notation after all.
by mikewhy 9y ago
Wouldn't it have to? It does stand for JavaScript Object Notation after all.
- stephenhuey 9y agoThis question seems reasonably sincere enough that you could attempt to answer it rather than downvote it.
- chrisseaton 9y agoThat's where the idea came from. But it's now a completely standalone standard, with its own grammar, that just happens to be compatible with a subset of ES.
- epmatsw 9y agoEven that's not technically true. You can represent things in JSON that can't be represented in ES object literals. There's a proposal in Stage 3 to fix that though: https://github.com/tc39/proposal-json-superset https://github.com/tc39/proposal-json-superset