]> granicus.if.org Git - php/commit
Update the JSON parser with that on json.org, biggest change here is code readability...
authorScott MacVicar <scottmac@php.net>
Wed, 17 Dec 2008 14:39:56 +0000 (14:39 +0000)
committerScott MacVicar <scottmac@php.net>
Wed, 17 Dec 2008 14:39:56 +0000 (14:39 +0000)
commitcae85c867a950a07bd94cd2e6788adff8d49e92c
treea1d9917637cc9c44377fc319fa22b416b83654eb
parentc7a56d604baccf21c665ceb0ae1959e713115847
Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table.
Add missing reflection information to json_encode()
Fixes bug #45791 with 0e0 not being supported as a value
Error values are stored when encountered during parsing
ext/json/JSON_parser.c
ext/json/JSON_parser.h
ext/json/json.c