summaryrefslogtreecommitdiff
path: root/ext/json/JSON_parser.h
Commit message (Collapse)AuthorAgeFilesLines
* There is no error code set for json_last_error if an invalid utf8Rasmus Lerdorf2009-07-221-0/+1
| | | | | | sequence is encountered. This fixes that. Might be worthwhile to merge to 5.3 despite the new constant.
* Allow the json_decode() depth to be any size, but keep the static one around ↵Scott MacVicar2009-05-141-3/+3
| | | | for now. It might make sense to allow an unbound depth.
* Add json_last_error() for getting a bit of information about what failed ↵Scott MacVicar2008-12-191-1/+9
| | | | | | | during a decode, also fixes a segfault when we have [1} [DOC]
* Update the JSON parser with that on json.org, biggest change here is code ↵Scott MacVicar2008-12-171-2/+20
| | | | | | | | | 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
* MFB: Fixed compiler warnings and enable Json by default.Ilia Alshanetsky2006-07-191-2/+0
|
* - Rewritten for better performance. 3-8x faster encodes, 2-4x faster decodes.Omar Kilani2006-01-311-0/+8
- No longer uses json-c, implements it's own JSON parser and encoder. - JSON parser based on Douglas Crockford's JSON_checker.