json_exception_fix: processError method overloaded for JSON client

processError method overloaded for JSON client

see examples/json_exception.php for details