Re: json_encode()
| From: | mike | Date: | Mon, 15 Dec 2008 22:34:49 +0000 |
| Subject: | Re: json_encode() | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42276@lists.php.net to get a copy of this message | ||
On Mon, Dec 15, 2008 at 1:43 PM, John Carter -X (johncart - PolicyApp
Ltd at Cisco) <johncart@cisco.com> wrote:
> How about a strict mode added to the list of the current json_encode()
> options?
>
> That way current code will continue to work and anyone reading the docs
> will know the default behaviour isn't strictly correct.
I'd rather have a "lazy mode" option, so by default it is spitting out
correct JSON (according to specs)