summaryrefslogtreecommitdiff
path: root/ext/json
Commit message (Collapse)AuthorAgeFilesLines
...
* | - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, ↵Pierre Joye2010-12-111-0/+1
| | | | | | | | generate the install-headers cmd
* | Implement FR #44331 (Formatting option for json_encode). Bikeshedding about theAdam Harvey2010-09-163-1/+88
| | | | | | | | | | | | exact form of the JSON pretty printing and brace handling will only be accepted in the form of patches. ;)
* | Rebalance the folds in json.c.Adam Harvey2010-09-161-1/+3
| |
* | Implemented FR #49366 (Make slash escaping optional in json_encode()).Adam Harvey2010-09-163-1/+19
| |
* | Fix English in the error message emitted when json_decode() is called withAdam Harvey2010-09-141-1/+1
| | | | | | | | | | depth <= 0.
* | Fix bug #52262 - Invalid UTF-8 documents don't set an error code when they ↵Scott MacVicar2010-07-061-0/+1
| | | | | | | | fail to decode.
* | Ooops, return values...Sara Golemon2010-05-212-2/+2
| |
* | Add JSON_BIGINT_AS_STRING for json_decode() to parse large numbersSara Golemon2010-05-216-16/+83
| | | | | | | | | | as strings rather than casting to double and loosing precision.
* | Added support for JSON_NUMERIC_CHECK option in json_encode() that converts Ilia Alshanetsky2010-05-204-12/+64
| | | | | | | | | | | | numeric strings to integers.
* | Rename JSON_Serializable to JsonSerializable per ML discussionSara Golemon2010-05-122-5/+4
| |
* | Well we do need zend_throw_exception_ex ;-)Kalle Sommer Nielsen2010-05-061-0/+1
| |
* | Add JSON_Serializable interfaceSara Golemon2010-05-053-1/+138
| | | | | | | | | | | | | | | | Objects implementing JSON_Serializable will have their ->jsonSerialize() method called Similar to serialize() and __sleep()
* | revert change #298288: Remove old dsp/dsw/makefile filesRob Richards2010-04-281-0/+135
| |
* | Remove old dsp/dsw/makefile files, these arent used by the build system ↵Kalle Sommer Nielsen2010-04-211-135/+0
| | | | | | | | anymore and are barely updated nor available for all extensions
* | - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)Felipe Pena2010-04-181-0/+1
| |
* | - Fixed testsFelipe Pena2010-04-032-8/+2
| |
* | 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-032-2/+2
|
* Fix broken json tests in all branchesRasmus Lerdorf2009-08-031-16/+8
|
* MFH: Add error constant when json_encode detects an invalid UTF-8 sequence.Scott MacVicar2009-07-272-0/+3
|
* fix tests corrupted by svn's eol-style=nativeAlexey Zakhlestin2009-07-152-32/+16
|
* fix json shared build on WindowsStanislav Malyshev2009-06-302-4/+10
|
* - MFH: Fixed memleak when depth arg is less than zeroFelipe Pena2009-06-241-0/+1
|
* The json header should be installed so other exts can use itJohannes Schlüter2009-06-231-0/+1
|
* New json extension tests. Tested on Windows, Linux and Linux 64 bit.andy wharmby2009-06-145-0/+450
|
* Fix the build.Andrei Zmievski2009-05-311-0/+1
|
* MFH: no dots in errorsJani Taskinen2009-05-311-3/+3
|
* Expose encode/decode API.Andrei Zmievski2009-05-312-43/+53
|
* Cast to unsigned char to prevent compiler warningKalle Sommer Nielsen2009-05-191-1/+1
|
* MFH: Fix arginfoKalle Sommer Nielsen2009-05-151-0/+1
|
* MFH Allow a custom recursion depth to be specified for json_decode()Scott MacVicar2009-05-143-7/+15
|
* Rebuild credits, was missed in previous RCScott MacVicar2009-04-021-1/+1
|
* MFH: Avoid 2 conversions when decoding numbersMatt Wilmas2009-03-191-6/+17
|
* MFH Missing skip in testsScott MacVicar2009-03-171-0/+2
|
* 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-172-1/+13
|
* MFH Deal with overflow when decoding large numbersScott MacVicar2009-03-171-2/+3
|
* MFH Fix bug #47644 - Valid integers are truncated with json_decode()Scott MacVicar2009-03-172-4/+47
|
* Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64andy wharmby2009-01-232-10/+16
|
* Fix test again...Scott MacVicar2009-01-081-2/+2
|
* Fix broken testScott MacVicar2009-01-081-1/+4
|
* MFH Fix bug #46944 - UTF-8 characters outside the BMP aren't encoded correctly.Scott MacVicar2009-01-023-2/+34
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-312-2/+2
|
* 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-195-28/+107
| | | | | | | during a decode, also fixes a segfault when we have [1} [DOC]
* MFH Fix Windows buildScott MacVicar2008-12-171-0/+3
|
* MFH Test for bug #45791Scott MacVicar2008-12-171-0/+13
|
* Update the JSON parser with that on json.org, biggest change here is code ↵Scott MacVicar2008-12-173-461/+422
| | | | | | | | | 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-123-17/+10
| | | | strings
* MFH: Changed logic for LONG_MINMatt Wilmas2008-12-021-1/+1
|