History log of /PHP-8.0/ext/json/json.c (Results 151 – 175 of 201)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1381b14e 05-May-2010 Sara Golemon

Add JSON_Serializable interface
Objects implementing JSON_Serializable will have
their ->jsonSerialize() method called

Similar to serialize() and __sleep()


# 45c090f3 18-Apr-2010 Felipe Pena

- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)


# 6f03cbf6 18-Apr-2010 Felipe Pena

- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)


# 26b08f98 30-Mar-2010 Johannes Schlüter

Remove main/php3_compat.h, for that a few references to `function_entry` have
to be replaced by `zend_function_entry`.


Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2, php-5.2.13RC1
# 9ba1e816 03-Jan-2010 Sebastian Bergmann

sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php


Revision tags: php-5.3.2RC1, php-5.2.12, php-5.2.12RC4, php-5.2.12RC3, php-5.2.12RC2, php-5.3.1, php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3, php-5.3.1RC2, oci8-1.4.0, php-5.2.11, php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1
# 87dbefa0 27-Jul-2009 Scott MacVicar

MFH: Add error constant when json_encode detects an invalid UTF-8 sequence.


# 2361b4ea 30-Jun-2009 Stanislav Malyshev

fix json shared build on Windows


Revision tags: php-5.3.0
# caf8d811 24-Jun-2009 Felipe Pena

- MFH: Fixed memleak when depth arg is less than zero


Revision tags: php-5.3.0RC4, php-5.2.10, php-5.2.10RC2, php-5.3.0RC3
# 7012d096 31-May-2009 Jani Taskinen

MFH: no dots in errors


# efc0927f 31-May-2009 Andrei Zmievski

Expose encode/decode API.


Revision tags: php-5.2.10RC1
# 105272bd 15-May-2009 Kalle Sommer Nielsen

MFH: Fix arginfo


# d2a77858 14-May-2009 Scott MacVicar

MFH Allow a custom recursion depth to be specified for json_decode()


Revision tags: php-5.3.0RC2, php-5.3.0RC1
# c2b15e94 17-Mar-2009 Scott MacVicar

MFH Replace magic values with a define for json encoding, makes reading it a bit easier


# 8d2a5cab 17-Mar-2009 Scott MacVicar

MFH Add PHP_JSON_FORCE_OBJECT for forcing an object output of an array


Revision tags: RELEASE_1_3_5, php-5.2.9, php-5.2.9RC3, php-5.2.9RC2, php-5.2.9RC1, php-5.3.0beta1
# 08659c2d 31-Dec-2008 Sebastian Bergmann

MFH: Bump copyright year, 3 of 3.


# 7fe245af 24-Dec-2008 Scott MacVicar

MFH Make sure we clear out the error when the scalar version decoding works.


Revision tags: NEWS
# fdf2d1e4 19-Dec-2008 Scott MacVicar

MFH Add json_last_error() for getting a bit of information about what failed during a decode, also fixes a segfault when we have [1}
[DOC]


# 8ef7fe1d 17-Dec-2008 Scott MacVicar

Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table.
Add missing reflection information to json_encode()
Fixes bug #45

Update the JSON parser with that on json.org, biggest change here is code 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

show more ...


# ed5f0471 12-Dec-2008 Scott MacVicar

MFH Fix bug #45989 - json_decode() doesn't return NULL on certain invalid strings


Revision tags: php-5.2.8, BEFORE_HEAD_NS_CHANGES_MERGE, php-5.3.0alpha3, php-5.3.0alpha2, php-5.2.7, php-5.2.7RC5, php-5.2.7RC4
# fc2fb50d 17-Nov-2008 Felipe Pena

- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro


Revision tags: BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3
# 7a37fa2d 02-Nov-2008 Felipe Pena

- Revert ZEND_BEGIN_ARG_INFO change


# df100055 24-Oct-2008 Felipe Pena

- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro


Revision tags: php-5.2.7RC2, php-5.2.7RC1
# 604c7f6a 02-Oct-2008 Felipe Pena

- MFH: Fixed bug #46215 (json_encode mutates its parameter and has some class-specific state)


Revision tags: php-4.4.9, php-5.3.0alpha1
# 4e2ed54d 22-Jul-2008 Jani Taskinen

ws + cs


Revision tags: php-4.4.9RC1
# cb0d0869 27-Jun-2008 Felipe Pena

- Added arginfo


123456789