Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Bug #53963, error code isn't always set in certain error cases. | Scott MacVicar | 2011-02-09 | 1 | -0/+2 |
| | |||||
* | Add JSON_BIGINT_AS_STRING for json_decode() to parse large numbers | Sara Golemon | 2010-05-21 | 1 | -6/+23 |
| | | | | | as strings rather than casting to double and loosing precision. | ||||
* | Cast to unsigned char to prevent compiler warning | Kalle Sommer Nielsen | 2009-05-19 | 1 | -1/+1 |
| | |||||
* | MFH Allow a custom recursion depth to be specified for json_decode() | Scott MacVicar | 2009-05-14 | 1 | -0/+8 |
| | |||||
* | MFH: Avoid 2 conversions when decoding numbers | Matt Wilmas | 2009-03-19 | 1 | -6/+17 |
| | |||||
* | MFH Deal with overflow when decoding large numbers | Scott MacVicar | 2009-03-17 | 1 | -2/+3 |
| | |||||
* | MFH Fix bug #47644 - Valid integers are truncated with json_decode() | Scott MacVicar | 2009-03-17 | 1 | -4/+4 |
| | |||||
* | MFH Add json_last_error() for getting a bit of information about what failed ↵ | Scott MacVicar | 2008-12-19 | 1 | -18/+12 |
| | | | | | | | during a decode, also fixes a segfault when we have [1} [DOC] | ||||
* | MFH Fix Windows build | Scott MacVicar | 2008-12-17 | 1 | -0/+3 |
| | |||||
* | Update the JSON parser with that on json.org, biggest change here is code ↵ | Scott MacVicar | 2008-12-17 | 1 | -443/+377 |
| | | | | | | | | | 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 | ||||
* | MFH: Changed logic for LONG_MIN | Matt Wilmas | 2008-12-02 | 1 | -1/+1 |
| | |||||
* | We can afford a larger stack here and other json parsers out there | Rasmus Lerdorf | 2008-07-30 | 1 | -1/+1 |
| | | | | | go deeper than 128. | ||||
* | MFH: Added macros for managing zval refcounts and is_ref statuses | Yiduo (David) Wang | 2007-10-07 | 1 | -3/+3 |
| | |||||
* | Handle very small longs via double | Ilia Alshanetsky | 2007-06-13 | 1 | -1/+1 |
| | |||||
* | Fixed bug #41673 (json_encode breaks large numbers in arrays). | Ilia Alshanetsky | 2007-06-13 | 1 | -1/+6 |
| | |||||
* | Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty | Ilia Alshanetsky | 2007-05-27 | 1 | -3/+3 |
| | | | | | string keys). | ||||
* | Make the code match the commit comment | Rasmus Lerdorf | 2007-05-24 | 1 | -1/+1 |
| | |||||
* | I don't see any reason to leave the stack limitation at 20. We have | Rasmus Lerdorf | 2007-05-24 | 1 | -1/+1 |
| | | | | | | reports of this limit being hit now and as far as I can tell bumping it to 128 isn't going break anything in the parser code. | ||||
* | MFH: fix #41403 (json_decode cannot decode floats if localeconv ↵ | Antony Dovgal | 2007-05-16 | 1 | -1/+1 |
| | | | | decimal_point is not '.') | ||||
* | Fixed bug #41067 (json_encode() problem with UTF-16 input). | Ilia Alshanetsky | 2007-04-16 | 1 | -0/+19 |
| | |||||
* | Fix processing of control characters; they should be escaped as \u | Andrei Zmievski | 2007-04-13 | 1 | -1/+9 |
| | | | | | sequences. | ||||
* | initialize variable | Antony Dovgal | 2006-07-25 | 1 | -1/+1 |
| | |||||
* | more const keywording | Nuno Lopes | 2006-07-22 | 1 | -2/+2 |
| | |||||
* | MFH: ZTS fix | Antony Dovgal | 2006-07-20 | 1 | -3/+3 |
| | |||||
* | fix segfault, add test | Antony Dovgal | 2006-07-20 | 1 | -6/+6 |
| | |||||
* | This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. | SVN Migration | 2006-05-05 | 1 | -0/+757 |