summaryrefslogtreecommitdiff
path: root/ext/json/json.c
Commit message (Collapse)AuthorAgeFilesLines
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* There is no error code set for json_last_error if an invalid utf8Rasmus Lerdorf2009-07-221-0/+3
| | | | | | sequence is encountered. This fixes that. Might be worthwhile to merge to 5.3 despite the new constant.
* - Fixed memleak when depth arg is less than zeroFelipe Pena2009-06-241-0/+1
|
* - No dots in error messagesJani Taskinen2009-05-311-3/+3
|
* Make a note.Andrei Zmievski2009-05-311-0/+6
|
* Fix arginfoKalle Sommer Nielsen2009-05-151-1/+2
|
* Throw an error rather than silently changing to the default.Scott MacVicar2009-05-141-1/+2
|
* Allow the json_decode() depth to be any size, but keep the static one around ↵Scott MacVicar2009-05-141-4/+3
| | | | for now. It might make sense to allow an unbound depth.
* Replace magic values with a define, makes reading it a bit easierScott MacVicar2009-03-171-7/+10
|
* Add PHP_JSON_FORCE_OBJECT for forcing an object output of an arrayScott MacVicar2009-03-171-1/+3
|
* - This is PHP 6 - if this ... ever gets outMarcus Boerger2009-03-101-1/+1
|
* Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Make sure we clear out the error when the scalar version decoding works.Scott MacVicar2008-12-241-0/+12
|
* Add json_last_error() for getting a bit of information about what failed ↵Scott MacVicar2008-12-191-9/+41
| | | | | | | 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-23/+31
| | | | | | | | | 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
* Fix bug #45989 - json_decode() doesn't return NULL on certain invalid stringsScott MacVicar2008-12-121-14/+2
|
* - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)Felipe Pena2008-11-171-2/+0
|
* - Revert ZEND_BEGIN_ARG_INFO changeFelipe Pena2008-11-021-0/+2
|
* - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-10-241-2/+0
|
* - Fixed bug #46215 (json_encode mutates its parameter and has some ↵Felipe Pena2008-10-021-0/+3
| | | | class-specific state)
* MFB:- Fixed bug #38680 (Added missing handling of basic types in json_decode)Jani Taskinen2008-07-221-0/+4
| | | | | | # This was claimed to be in HEAD but wasn't..some commit reverted it or # someone didn't check for real..
* ws + cs + sync with PHP_5_3Jani Taskinen2008-07-221-117/+100
|
* - MFB: Added arginfoFelipe Pena2008-06-271-2/+15
|
* ZTS fixDmitry Stogov2008-01-301-4/+4
|
* fix #43941: invalid utf-8 not acceptedStanislav Malyshev2008-01-301-4/+9
|
* Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Add support for encoding optionsSara Golemon2007-12-171-15/+74
|
* MFB: Fixed bug #42785 (json_encode() formats doubles according to localeIlia Alshanetsky2007-10-011-3/+3
| | | | | rather then following standard syntax).
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-1/+1
|
* spaces -> tabsJan Lehnardt2007-09-011-302/+302
|
* Fixed bug#42090 (json_decode causes segmentation fault)Hannes Magnusson2007-07-241-2/+2
|
* MFB: Fixed bug #41673 (json_encode breaks large numbers in arrays).Ilia Alshanetsky2007-06-131-8/+2
|
* MFB: Fixed bug #41567 (json_encode() double conversion is inconsistent withIlia Alshanetsky2007-06-041-1/+1
| | | | | PHP).
* MFB fix for #41034Antony Dovgal2007-04-231-1/+1
| | | | | add missing tests
* MFB (handling of control characters)Andrei Zmievski2007-04-161-1/+1
|
* MFB: #40503 (json_encode() value corruption on 32bit systems with overflown ↵Antony Dovgal2007-02-191-8/+8
| | | | values)
* Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFB: safety checksIlia Alshanetsky2006-12-261-2/+2
|
* MFB: little cleanup in json_determine_array_type()Nuno Lopes2006-12-191-8/+1
|
* Clarify why the result of json_encode() is a binary string.Andrei Zmievski2006-10-191-0/+4
|
* fix folding tags, nuke json globalsAntony Dovgal2006-10-191-7/+13
|
* fix coverity issue #262 (uninitialized variable)Antony Dovgal2006-10-191-0/+1
|
* Unicode support in JSON functions.Andrei Zmievski2006-10-171-67/+114
|
* Patch to support primitive types. (Ilia)Andrei Zmievski2006-10-161-1/+26
|
* MFBNuno Lopes2006-07-221-1/+1
|
* use E_WARNING on recursion and add null to the result to keep it validAntony Dovgal2006-07-201-1/+2
|
* add recursion protection to json_encode() and new testsAntony Dovgal2006-07-201-0/+15
|
* json_escape_string() doesn't use tsrm_ls, so no need to pass itAntony Dovgal2006-07-201-4/+4
|
* MFB: Fixed compiler warnings and enable Json by default.Ilia Alshanetsky2006-07-191-3/+1
|
* Fix PECL bug #7147 - rework comma insertion whilst encoding.Omar Kilani2006-03-181-7/+19
| | | | | Add tests to package.xml.