4 ms·
> {"JSON":"rocks!"} I don't think this is such a good point. While the example is not a valid expression, it is a perfectly good JS value/statement, like (almo
by lautis 15y ago
> {"JSON":"rocks!"}
I don't think this is such a good point. While the example is not a valid expression, it is a perfectly good JS value/statement, like (almost) all other JSON. Wikipedia might go a bit too far in saying that all JSON formatted text is legal JS code, but (IMHO) it still is a perfectly good subset.
The unicode part is a clear error and should be fixed.