Re: Proposed feature for json_encode()
| From: | Alexey Zakhlestin | Date: | Sun, 02 Dec 2007 10:05:55 +0000 |
| Subject: | Re: Proposed feature for json_encode() | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33575@lists.php.net to get a copy of this message | ||
On 12/2/07, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> The \u syntax is specific to JSON, yes.
\u syntax is specific to javascripts string literals, regular
expressions and identifiers[1]
And JSON is not the only way to deliver data into javascript. Manual
approaches are still useful
[1] - http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Unicode#Unicode_escape_sequences
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/