re #302 : Add legacy support for json_last_error_msg()
re #302 : Use json_last_error() and json_last_error_msg()