Commit Graph

19 Commits

Author SHA1 Message Date
Matt Wilmas
509b50ed70 Changed logic for LONG_MIN 2008-12-02 14:50:01 +00:00
Rasmus Lerdorf
664bb141a1 We can afford a larger stack here and other json parsers out there
go deeper than 128.
2008-07-30 13:57:47 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Antony Dovgal
a819499088 fix WS, CS and other S 2007-07-12 09:55:41 +00:00
Ilia Alshanetsky
71bc2b7f8f MFB: Handle very small longs via double 2007-06-13 17:57:10 +00:00
Ilia Alshanetsky
b59b26c4bf MFB: Fixed bug #41673 (json_encode breaks large numbers in arrays). 2007-06-13 17:10:06 +00:00
Antony Dovgal
41ec253ac8 oops, empty properties are not allowed 2007-06-08 08:57:21 +00:00
Antony Dovgal
445f777480 MFB: fix #41504 (json_decode() incorrectly decodes JSON arrays with empty string keys). 2007-06-08 08:51:46 +00:00
Rasmus Lerdorf
814847dba2 MFB 5_2 - increase json parser depth from 20 to 128 2007-05-24 22:39:06 +00:00
Antony Dovgal
b21fe28568 fix #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.') 2007-05-16 12:53:36 +00:00
Ilia Alshanetsky
68a31e78d3 MFB: Fixed bug #41067 (json_encode() problem with UTF-16 input). 2007-04-19 22:49:11 +00:00
Andrei Zmievski
1714d379d9 MFB (handling of control characters) 2007-04-16 16:52:20 +00:00
Dmitry Stogov
a1130e84bf ZTS fix 2006-10-18 07:41:33 +00:00
Andrei Zmievski
d33a905a16 Unicode support in JSON functions. 2006-10-17 17:56:54 +00:00
Antony Dovgal
7d3057410c initialize variable 2006-07-25 09:06:47 +00:00
Nuno Lopes
770b92198f MFB 2006-07-22 15:23:23 +00:00
Antony Dovgal
8635f4fd23 ZTS fix 2006-07-20 09:18:46 +00:00
Antony Dovgal
321184da5e fix segfault caused by empty keys is JSON data
add test
2006-07-20 08:23:45 +00:00
Omar Kilani
94a140214c - Rewritten for better performance. 3-8x faster encodes, 2-4x faster decodes.
- No longer uses json-c, implements it's own JSON parser and encoder.
- JSON parser based on Douglas Crockford's JSON_checker.
2006-01-31 08:59:06 +00:00