27 Commits (16bc68fa0ca80efa47cf24450ae43ae42ddbf7ea)

Author SHA1 Message Date
Kalle Sommer Nielsen eec2808482 MFB: Cast to unsigned char to prevent compiler warning 17 years ago
Scott MacVicar 1c1ba8cc06 Allow the json_decode() depth to be any size, but keep the static one around for now. It might make sense to allow an unbound depth. 17 years ago
Matt Wilmas efd9d3482d Avoid 2 conversions when decoding numbers 17 years ago
Scott MacVicar 2d43af2707 Deal with overflow when decoding large numbers 17 years ago
Scott MacVicar de4891ab2a Fix bug #47644 - Valid integers are truncated with json_decode() 17 years ago
Scott MacVicar b0b32deb12 Add json_last_error() for getting a bit of information about what failed during a decode, also fixes a segfault when we have [1} 17 years ago
Scott MacVicar d0cf756f7f Fix Windows build 17 years ago
Scott MacVicar cae85c867a Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table. 17 years ago
Matt Wilmas 509b50ed70 Changed logic for LONG_MIN 17 years ago
Rasmus Lerdorf 664bb141a1 We can afford a larger stack here and other json parsers out there 18 years ago
Yiduo (David) Wang 95da0dc570 Added macros for managing zval refcounts and is_ref statuses 19 years ago
Antony Dovgal a819499088 fix WS, CS and other S 19 years ago
Ilia Alshanetsky 71bc2b7f8f MFB: Handle very small longs via double 19 years ago
Ilia Alshanetsky b59b26c4bf MFB: Fixed bug #41673 (json_encode breaks large numbers in arrays). 19 years ago
Antony Dovgal 41ec253ac8 oops, empty properties are not allowed 19 years ago
Antony Dovgal 445f777480 MFB: fix #41504 (json_decode() incorrectly decodes JSON arrays with empty string keys). 19 years ago
Rasmus Lerdorf 814847dba2 MFB 5_2 - increase json parser depth from 20 to 128 19 years ago
Antony Dovgal b21fe28568 fix #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.') 19 years ago
Ilia Alshanetsky 68a31e78d3 MFB: Fixed bug #41067 (json_encode() problem with UTF-16 input). 19 years ago
Andrei Zmievski 1714d379d9 MFB (handling of control characters) 19 years ago
Dmitry Stogov a1130e84bf ZTS fix 20 years ago
Andrei Zmievski d33a905a16 Unicode support in JSON functions. 20 years ago
Antony Dovgal 7d3057410c initialize variable 20 years ago
Nuno Lopes 770b92198f MFB 20 years ago
Antony Dovgal 8635f4fd23 ZTS fix 20 years ago
Antony Dovgal 321184da5e fix segfault caused by empty keys is JSON data 20 years ago
Omar Kilani 94a140214c - Rewritten for better performance. 3-8x faster encodes, 2-4x faster decodes. 20 years ago