11 Commits (032f33591a643c0cabe615a016b8f79f2fd9b277)

Author SHA1 Message Date
Nikita Popov b30c7fe263 Port JSON 12 years ago
Nikita Popov b7903f9778 Revert JSON merges to 5.4 14 years ago
Nikita Popov 250393f925 Revert JSON changes to PHP 5.3 14 years ago
Nikita Popov 84fe2cc890 Improve json_encode error handling 14 years ago
Sara Golemon a0269a6a72 Ooops, return values... 16 years ago
Sara Golemon 6eb4218433 Add JSON_BIGINT_AS_STRING for json_decode() to parse large numbers 16 years ago
Scott MacVicar 87dbefa03b MFH: Add error constant when json_encode detects an invalid UTF-8 sequence. 17 years ago
Rasmus Lerdorf f0fb480b13 There is no error code set for json_last_error if an invalid utf8 17 years ago
Scott MacVicar d2a7785878 MFH Allow a custom recursion depth to be specified for json_decode() 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
SVN Migration 3e94ce6a97 This commit was manufactured by cvs2svn to create tag 'NEWS'. 18 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} 18 years ago
Scott MacVicar fdf2d1e46f 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} 18 years ago
Scott MacVicar 8ef7fe1d99 Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table. 18 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. 18 years ago
Ilia Alshanetsky 369b7e44a0 MFB: Fixed compiler warnings and enable Json by default. 20 years ago
Ilia Alshanetsky cdfe00b801 Fixed compiler warnings and enable Json by default. 20 years ago
SVN Migration 608baa409a This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 20 years ago
Omar Kilani 94a140214c - Rewritten for better performance. 3-8x faster encodes, 2-4x faster decodes. 21 years ago