JSONは Javascriptのサブセットと言われています。
すべてのJSON(適切にエンコードされていることが前提)がJavascriptで安全に評価できると仮定するのは安全ですか?
For instance, the ampersand &
as a string gets JSON encoded into "\u0026"
.
Is it safe (both theoretically and in practice including old browsers) to assume that this, written in Javascript, will be for all intents equivalent to &
?