Re: Removing basic types from our JSON parser
| From: | Rasmus Lerdorf | Date: | Sun, 14 Dec 2008 06:39:51 +0000 |
| Subject: | Re: Removing basic types from our JSON parser | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42245@lists.php.net to get a copy of this message | ||
mike wrote:
> Sorry for top posting. I see no reason why php should not interop with
> javascript 100% as it should. I do not see a reason to create new
> functions, parameters, etc. The existing should be expected to both
> encode and decode json with javascript properly. If there is a mismatch
> right now, then it should be fixed.
There is no mismatch with Javascript now at all. We spit out perfectly
valid Javascript. There is only a slight mismatch with the JSON RFC
which defines a stricter subset of Javascript than we are using.
-Rasmus