summaryrefslogtreecommitdiff
path: root/ext/json/json.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Well we do need zend_throw_exception_ex ;-)Kalle Sommer Nielsen2010-05-061-0/+1
| |
* | Add JSON_Serializable interfaceSara Golemon2010-05-051-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 Pena2010-04-181-0/+1
| |
* | Remove main/php3_compat.h, for that a few references to `function_entry` haveJohannes Schlüter2010-03-301-1/+1
|/ | | | | to be replaced by `zend_function_entry`.
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Add error constant when json_encode detects an invalid UTF-8 sequence.Scott MacVicar2009-07-271-0/+2
|
* fix json shared build on WindowsStanislav Malyshev2009-06-301-2/+2
|
* - MFH: Fixed memleak when depth arg is less than zeroFelipe Pena2009-06-241-0/+1
|
* MFH: no dots in errorsJani Taskinen2009-05-311-3/+3
|
* Expose encode/decode API.Andrei Zmievski2009-05-311-43/+50
|
* MFH: Fix arginfoKalle Sommer Nielsen2009-05-151-0/+1
|
* MFH Allow a custom recursion depth to be specified for json_decode()Scott MacVicar2009-05-141-4/+4
|
* MFH Replace magic values with a define for json encoding, makes reading it a ↵Scott MacVicar2009-03-171-7/+10
| | | | bit easier
* MFH Add PHP_JSON_FORCE_OBJECT for forcing an object output of an arrayScott MacVicar2009-03-171-1/+3
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH Make sure we clear out the error when the scalar version decoding works.Scott MacVicar2008-12-241-0/+6
|
* MFH Add json_last_error() for getting a bit of information about what failed ↵Scott MacVicar2008-12-191-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 MacVicar2008-12-171-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 MacVicar2008-12-121-7/+1
| | | | strings
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-11-171-2/+0
|
* - Revert ZEND_BEGIN_ARG_INFO changeFelipe Pena2008-11-021-0/+2
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-10-241-2/+0
|
* - MFH: Fixed bug #46215 (json_encode mutates its parameter and has some ↵Felipe Pena2008-10-021-0/+3
| | | | class-specific state)
* ws + csJani Taskinen2008-07-221-418/+392
|
* - Added arginfoFelipe Pena2008-06-271-2/+15
|
* ZTS fixDmitry Stogov2008-01-301-4/+4
|
* fix #43941: invalid utf-8 not acceptedStanislav Malyshev2008-01-301-2/+8
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH (json.c r-1.32) Add support for encoding optionsSara Golemon2007-12-171-15/+74
|
* Fixed bug #42785 (json_encode() formats doubles according to locale ratherIlia Alshanetsky2007-10-011-1/+1
| | | | | then following standard syntax).
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-1/+1
|
* MFH: Fixed bug#42090 (json_decode causes segmentation fault)Hannes Magnusson2007-07-241-1/+1
|
* fix ws/foldingAntony Dovgal2007-07-231-4/+10
|
* Fixed bug #41673 (json_encode breaks large numbers in arrays).Ilia Alshanetsky2007-06-131-11/+3
|
* Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP).Ilia Alshanetsky2007-06-041-1/+1
|
* MFH: protos (patch by jeffg at activestate dot com)Hannes Magnusson2007-05-251-0/+6
|
* Fix processing of control characters; they should be escaped as \uAndrei Zmievski2007-04-131-1/+1
| | | | | sequences.
* Fixed bug #41034 (json_encode() ignores null byte started keys in arrays)Ilia Alshanetsky2007-04-121-1/+1
|
* Fixed bug #40503 (json_encode() value corruption on 32bit systems withIlia Alshanetsky2007-02-181-9/+11
| | | | | overflown values).
* MFH: nuke skeleton leftoversAntony Dovgal2007-01-121-3/+0
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Use safe_emalloc()Ilia Alshanetsky2006-12-251-2/+2
|
* remove NOP code in json_determine_array_type(), as we already know the zval ↵Nuno Lopes2006-12-191-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 Alshanetsky2006-11-031-1/+28
| | | | | # already in HEAD
* move static declaration to *.c filesNuno Lopes2006-08-141-4/+9
| | | | | mroe static/const keywording
* more const keywordingNuno Lopes2006-07-221-1/+1
|
* MFH: use E_WARNING on recursion and add null to the result to keep it validAntony Dovgal2006-07-201-1/+2
|
* MFH: add recursion protection to json_encode() and new testsAntony Dovgal2006-07-201-0/+15
|
* MFHAntony Dovgal2006-07-201-4/+4
|
* Fixed compiler warnings and enable Json by default.Ilia Alshanetsky2006-07-191-3/+1
|