Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Well we do need zend_throw_exception_ex ;-) | Kalle Sommer Nielsen | 2010-05-06 | 1 | -0/+1 | |
| | | ||||||
* | | Add JSON_Serializable interface | Sara Golemon | 2010-05-05 | 1 | -1/+57 | |
| | | | | | | | | | | | | | | | | Objects implementing JSON_Serializable will have their ->jsonSerialize() method called Similar to serialize() and __sleep() | |||||
* | | - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined) | Felipe Pena | 2010-04-18 | 1 | -0/+1 | |
| | | ||||||
* | | Remove main/php3_compat.h, for that a few references to `function_entry` have | Johannes Schlüter | 2010-03-30 | 1 | -1/+1 | |
|/ | | | | | to be replaced by `zend_function_entry`. | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 | |
| | ||||||
* | MFH: Add error constant when json_encode detects an invalid UTF-8 sequence. | Scott MacVicar | 2009-07-27 | 1 | -0/+2 | |
| | ||||||
* | fix json shared build on Windows | Stanislav Malyshev | 2009-06-30 | 1 | -2/+2 | |
| | ||||||
* | - MFH: Fixed memleak when depth arg is less than zero | Felipe Pena | 2009-06-24 | 1 | -0/+1 | |
| | ||||||
* | MFH: no dots in errors | Jani Taskinen | 2009-05-31 | 1 | -3/+3 | |
| | ||||||
* | Expose encode/decode API. | Andrei Zmievski | 2009-05-31 | 1 | -43/+50 | |
| | ||||||
* | MFH: Fix arginfo | Kalle Sommer Nielsen | 2009-05-15 | 1 | -0/+1 | |
| | ||||||
* | MFH Allow a custom recursion depth to be specified for json_decode() | Scott MacVicar | 2009-05-14 | 1 | -4/+4 | |
| | ||||||
* | MFH Replace magic values with a define for json encoding, makes reading it a ↵ | Scott MacVicar | 2009-03-17 | 1 | -7/+10 | |
| | | | | bit easier | |||||
* | MFH Add PHP_JSON_FORCE_OBJECT for forcing an object output of an array | Scott MacVicar | 2009-03-17 | 1 | -1/+3 | |
| | ||||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 | |
| | ||||||
* | MFH Make sure we clear out the error when the scalar version decoding works. | Scott MacVicar | 2008-12-24 | 1 | -0/+6 | |
| | ||||||
* | MFH Add json_last_error() for getting a bit of information about what failed ↵ | Scott MacVicar | 2008-12-19 | 1 | -9/+40 | |
| | | | | | | | 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 MacVicar | 2008-12-17 | 1 | -16/+25 | |
| | | | | | | | | | 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 Fix bug #45989 - json_decode() doesn't return NULL on certain invalid ↵ | Scott MacVicar | 2008-12-12 | 1 | -7/+1 | |
| | | | | strings | |||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-11-17 | 1 | -2/+0 | |
| | ||||||
* | - Revert ZEND_BEGIN_ARG_INFO change | Felipe Pena | 2008-11-02 | 1 | -0/+2 | |
| | ||||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-10-24 | 1 | -2/+0 | |
| | ||||||
* | - MFH: Fixed bug #46215 (json_encode mutates its parameter and has some ↵ | Felipe Pena | 2008-10-02 | 1 | -0/+3 | |
| | | | | class-specific state) | |||||
* | ws + cs | Jani Taskinen | 2008-07-22 | 1 | -418/+392 | |
| | ||||||
* | - Added arginfo | Felipe Pena | 2008-06-27 | 1 | -2/+15 | |
| | ||||||
* | ZTS fix | Dmitry Stogov | 2008-01-30 | 1 | -4/+4 | |
| | ||||||
* | fix #43941: invalid utf-8 not accepted | Stanislav Malyshev | 2008-01-30 | 1 | -2/+8 | |
| | ||||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 | |
| | ||||||
* | MFH (json.c r-1.32) Add support for encoding options | Sara Golemon | 2007-12-17 | 1 | -15/+74 | |
| | ||||||
* | Fixed bug #42785 (json_encode() formats doubles according to locale rather | Ilia Alshanetsky | 2007-10-01 | 1 | -1/+1 | |
| | | | | | then following standard syntax). | |||||
* | Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) | Dmitry Stogov | 2007-09-27 | 1 | -1/+1 | |
| | ||||||
* | MFH: Fixed bug#42090 (json_decode causes segmentation fault) | Hannes Magnusson | 2007-07-24 | 1 | -1/+1 | |
| | ||||||
* | fix ws/folding | Antony Dovgal | 2007-07-23 | 1 | -4/+10 | |
| | ||||||
* | Fixed bug #41673 (json_encode breaks large numbers in arrays). | Ilia Alshanetsky | 2007-06-13 | 1 | -11/+3 | |
| | ||||||
* | Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). | Ilia Alshanetsky | 2007-06-04 | 1 | -1/+1 | |
| | ||||||
* | MFH: protos (patch by jeffg at activestate dot com) | Hannes Magnusson | 2007-05-25 | 1 | -0/+6 | |
| | ||||||
* | Fix processing of control characters; they should be escaped as \u | Andrei Zmievski | 2007-04-13 | 1 | -1/+1 | |
| | | | | | sequences. | |||||
* | Fixed bug #41034 (json_encode() ignores null byte started keys in arrays) | Ilia Alshanetsky | 2007-04-12 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #40503 (json_encode() value corruption on 32bit systems with | Ilia Alshanetsky | 2007-02-18 | 1 | -9/+11 | |
| | | | | | overflown values). | |||||
* | MFH: nuke skeleton leftovers | Antony Dovgal | 2007-01-12 | 1 | -3/+0 | |
| | ||||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 | |
| | ||||||
* | Use safe_emalloc() | Ilia Alshanetsky | 2006-12-25 | 1 | -2/+2 | |
| | ||||||
* | remove NOP code in json_determine_array_type(), as we already know the zval ↵ | Nuno Lopes | 2006-12-19 | 1 | -8/+1 | |
| | | | | passed is an array (based on patch by Ron Korving) | |||||
* | Fixed bug #38680 (Added missing handling of basic types in json_decode). | Ilia Alshanetsky | 2006-11-03 | 1 | -1/+28 | |
| | | | | | # already in HEAD | |||||
* | move static declaration to *.c files | Nuno Lopes | 2006-08-14 | 1 | -4/+9 | |
| | | | | | mroe static/const keywording | |||||
* | more const keywording | Nuno Lopes | 2006-07-22 | 1 | -1/+1 | |
| | ||||||
* | MFH: use E_WARNING on recursion and add null to the result to keep it valid | Antony Dovgal | 2006-07-20 | 1 | -1/+2 | |
| | ||||||
* | MFH: add recursion protection to json_encode() and new tests | Antony Dovgal | 2006-07-20 | 1 | -0/+15 | |
| | ||||||
* | MFH | Antony Dovgal | 2006-07-20 | 1 | -4/+4 | |
| | ||||||
* | Fixed compiler warnings and enable Json by default. | Ilia Alshanetsky | 2006-07-19 | 1 | -3/+1 | |
| |