4 ms·
Even when the original author said it was "discovered"? JSON5 is closer to "javascript object notation" than JSON itself. It's partly an update and partly a r
by Dylan16807 2y ago
Even when the original author said it was "discovered"?
JSON5 is closer to "javascript object notation" than JSON itself. It's partly an update and partly a removal of arbitrary restrictions.
- yosito 2y agoExcept that JSON is a valid JavaScript object, and JSON5 is not.
- Zamicol 2y agoWhy is it not? My understanding is that it is a valid ES5 and forward object.
- ahartmetz 2y agoUnless there's a direct lie in the description of JSON5 ("subset of ECMAScript"), JSON5 objects are valid JS objects.
- tubthumper8 2y agoCan you provide an example?