JSON is defined by the spec. The people who wrote the spec think otherwise[0].
[0]: https://www.json.org/json-en.html
> Arrays with hole are a JS-only feature.
There are other langauges that allow arrays with missing elements.
The document > {1:2 3:[4 5]}
can only be "commafied" to > {1:2, 3:[4, 5]}
> There are other langauges that allow arrays with missing elements.
But javascript is the only one that gave JSON the JS in its name
JSON is defined by the spec. The people who wrote the spec think otherwise[0].
[0]: https://www.json.org/json-en.html
> Arrays with hole are a JS-only feature.
There are other langauges that allow arrays with missing elements.