summaryrefslogtreecommitdiff
path: root/ext/json/JSON_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* MFB: Cast to unsigned char to prevent compiler warningKalle Sommer Nielsen2009-05-191-1/+1
|
* Allow the json_decode() depth to be any size, but keep the static one around ↵Scott MacVicar2009-05-141-0/+8
| | | | for now. It might make sense to allow an unbound depth.
* Avoid 2 conversions when decoding numbersMatt Wilmas2009-03-191-6/+17
|
* Deal with overflow when decoding large numbersScott MacVicar2009-03-171-2/+3
|
* Fix bug #47644 - Valid integers are truncated with json_decode()Scott MacVicar2009-03-171-4/+4
|
* Add json_last_error() for getting a bit of information about what failed ↵Scott MacVicar2008-12-191-19/+12
| | | | | | | during a decode, also fixes a segfault when we have [1} [DOC]
* Fix Windows buildScott MacVicar2008-12-171-0/+3
|
* Update the JSON parser with that on json.org, biggest change here is code ↵Scott MacVicar2008-12-171-577/+588
| | | | | | | | | 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
* Changed logic for LONG_MINMatt Wilmas2008-12-021-1/+1
|
* We can afford a larger stack here and other json parsers out thereRasmus Lerdorf2008-07-301-1/+1
| | | | | go deeper than 128.
* Added macros for managing zval refcounts and is_ref statusesYiduo (David) Wang2007-10-071-3/+3
|
* fix WS, CS and other SAntony Dovgal2007-07-121-491/+414
|
* MFB: Handle very small longs via doubleIlia Alshanetsky2007-06-131-1/+1
|
* MFB: Fixed bug #41673 (json_encode breaks large numbers in arrays).Ilia Alshanetsky2007-06-131-1/+6
|
* oops, empty properties are not allowedAntony Dovgal2007-06-081-3/+3
|
* MFB: fix #41504 (json_decode() incorrectly decodes JSON arrays with empty ↵Antony Dovgal2007-06-081-6/+6
| | | | string keys).
* MFB 5_2 - increase json parser depth from 20 to 128Rasmus Lerdorf2007-05-241-1/+1
|
* fix #41403 (json_decode cannot decode floats if localeconv decimal_point is ↵Antony Dovgal2007-05-161-1/+1
| | | | not '.')
* MFB: Fixed bug #41067 (json_encode() problem with UTF-16 input).Ilia Alshanetsky2007-04-191-0/+19
|
* MFB (handling of control characters)Andrei Zmievski2007-04-161-1/+9
|
* ZTS fixDmitry Stogov2006-10-181-4/+4
|
* Unicode support in JSON functions.Andrei Zmievski2006-10-171-7/+7
|
* initialize variableAntony Dovgal2006-07-251-1/+1
|
* MFBNuno Lopes2006-07-221-2/+2
|
* ZTS fixAntony Dovgal2006-07-201-3/+3
|
* fix segfault caused by empty keys is JSON dataAntony Dovgal2006-07-201-6/+6
| | | | | add test
* - Rewritten for better performance. 3-8x faster encodes, 2-4x faster decodes.Omar Kilani2006-01-311-0/+757
- No longer uses json-c, implements it's own JSON parser and encoder. - JSON parser based on Douglas Crockford's JSON_checker.