Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add json_last_error_msg() function | Nikita Popov | 2012-06-28 | 1 | -8/+4 |
| | | | | | This replaces json_last_error(true) and is consistent with other custom error handling functions. | ||||
* | Improve JSON error handling | Nikita Popov | 2012-06-27 | 1 | -7/+9 |
| | | | | | | | | | json_encode() no longer throws warnings. Instead only the error code for json_last_error() is set. As it is hard to debug the error from just an error code an optional $as_string parameter was added to json_last_error(), which returns an error message instead of an error code. | ||||
* | Fix bug #61537 (json_encode() incorrectly truncates/discards information) and | Adam Harvey | 2012-04-11 | 1 | -0/+7 |
| | | | | remove a test case that's now mooted by this fix. | ||||
* | Fix Bug #54058, invalid utf-8 doesn't set json_encode() in all cases | Scott MacVicar | 2011-02-21 | 1 | -0/+35 |