summaryrefslogtreecommitdiff
path: root/ext/json/json_encoder.c
Commit message (Expand)AuthorAgeFilesLines
* php_json_escape_string() optimizationDmitry Stogov2018-06-131-35/+60
* Removed useless zval_ptr_dtor()Dmitry Stogov2018-05-291-1/+1
* Bit test optimizationDmitry Stogov2018-05-081-1/+1
* Bit check micro-optimizationDmitry Stogov2018-04-281-1/+1
* year++Xinchen Hui2018-01-021-1/+1
* Merge branch 'PHP-7.2'Jakub Zelenka2017-10-151-2/+7
|\
| * Fix bug #68567 (JSON_PARTIAL_OUTPUT_ON_ERROR can result in JSON with null key)Jakub Zelenka2017-10-151-2/+7
* | Refactored recursion pretectionDmitry Stogov2017-10-061-16/+16
|/
* [ci skip] Remove CSV leftovers from json code - $Id$Jakub Zelenka2017-07-161-2/+0
* Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNOREJakub Zelenka2017-07-161-8/+22
* Optimization for fast path.Dmitry Stogov2017-06-191-80/+83
* Fixed performance degradaton introduced in f6ac96bDmitry Stogov2017-06-131-17/+23
* Improve and simplify UTF-8 validation in JSONJakub Zelenka2017-06-111-50/+16
* Improved UTF-8 validation in JSONDmitry Stogov2017-05-251-27/+10
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
* json_encode(): Detect recursion earlierNikita Popov2016-11-191-20/+15
* Introduce json encoder to fix globals related issuesJakub Zelenka2016-10-301-32/+37
* Introduced HT_IS_PACKED() and HT_IS_WITHOUT_HOLES() macros. (Benjamin Coutu)Dmitry Stogov2016-10-191-0/+4
* Merge branch 'PHP-7.0' into PHP-7.1Julien Pauli2016-09-191-1/+3
|\
| * Merge branch 'PHP-5.6' into PHP-7.0Julien Pauli2016-09-191-1/+3
* | Fix recursion and protection in the failed JSON encodingJakub Zelenka2016-08-291-11/+20
* | Add initial failure checking for json_encodeJakub Zelenka2016-08-291-38/+54
* | Use one place to define max length of doubleJakub Zelenka2016-06-261-10/+2
* | Replace json.precision with serialize_precisionJakub Zelenka2016-06-261-1/+1
* | Add castYasuo Ohgaki2016-06-261-1/+1
* | Simply use ndigit for flag for zend_dtoa modeYasuo Ohgaki2016-06-261-5/+2
* | Add JSON_G(precision)Yasuo Ohgaki2016-06-261-2/+2
* | Initial patch for 0 mode float conversion. The magic number is better to be i...Yasuo Ohgaki2016-06-261-1/+5
* | Use empty keys instead of _empty_ in json decodingJakub Zelenka2016-06-201-1/+1
* | Merge branch 'PHP-7.0'Xinchen Hui2016-05-061-45/+38
|\ \ | |/
| * Revert "Fixed bug #72170 (JsonSerializable may inc apply count without dec it)"Xinchen Hui2016-05-061-45/+38
* | Merge branch 'PHP-7.0'Xinchen Hui2016-05-061-38/+45
|\ \ | |/
| * Fixed bug #72170 (JsonSerializable may inc apply count without dec it)Xinchen Hui2016-05-061-38/+45
* | Merge branch 'PHP-7.0'Xinchen Hui2016-04-221-0/+4
|\ \ | |/
| * Fixed bug #72069 (Behavior \JsonSerializable different from json_encode)Xinchen Hui2016-04-221-0/+4
* | json_encode: Escape U+2028 and U+2029 more often.Eddie Kohler2016-01-221-1/+10
|/
* Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
* Use ZSTR_ API to access zend_string elements (this is just renaming without s...Dmitry Stogov2015-06-301-5/+5
* Use Z_ARRVAL_P since we already know it's an arrayXinchen Hui2015-05-061-3/+3
* fix datatype mismatchesAnatol Belski2015-03-251-1/+1
* Improved php_json_escape_string()Dmitry Stogov2015-03-111-98/+103
* Merge branch 'PHP-5.6'Jakub Zelenka2015-02-221-17/+24
* fix json globalsMichael Wallner2015-02-091-2/+0
* size_t vs intAnatol Belski2015-02-091-1/+1
* Merge branch 'master' into jsondJakub Zelenka2015-02-081-1/+1
* Give me creditJakub Zelenka2015-02-021-0/+1
* Merge branch 'master' into jsondJakub Zelenka2015-01-251-1/+1
* Increase PHP_JSON_DOUBLE_MAX_LENGTH for fractional partJakub Zelenka2015-01-181-2/+2
* Porting implementation of RFC json_preserve_fractional_partJuan Basso2015-01-121-3/+8
* Refactore json double encoding to use php_gcvtJakub Zelenka2015-01-111-23/+25