MySQL 9.1.0
Source Code Documentation
|
Error handler to be used when parsing JSON schemas and validating JSON objects using a JSON schema. More...
#include <json_error_handler.h>
Public Member Functions | |
virtual | ~JsonSchemaErrorHandler ()=default |
virtual void | InvalidJsonText (size_t arg_no, const char *wrong_string, size_t offset) const =0 |
Called when an invalid JSON value is encountered. More... | |
virtual void | InvalidJsonType () const =0 |
Called if the provided JSON is not a JSON object. More... | |
virtual void | HandleStdExceptions () const =0 |
Called if a std exception is thrown. More... | |
virtual void | NotSupported () const =0 |
Called if a schema reference is encountered in the JSON document as MySQL does not support such constructs. More... | |
Error handler to be used when parsing JSON schemas and validating JSON objects using a JSON schema.
|
virtualdefault |
|
pure virtual |
Called if a std exception is thrown.
Implemented in anonymous_namespace{json_client_library_main.cc}::CoutJsonSchemaDefaultErrorHandler, and JsonSchemaDefaultErrorHandler.
|
pure virtual |
Called when an invalid JSON value is encountered.
Implemented in JsonSchemaDefaultErrorHandler, and anonymous_namespace{json_client_library_main.cc}::CoutJsonSchemaDefaultErrorHandler.
|
pure virtual |
Called if the provided JSON is not a JSON object.
Implemented in anonymous_namespace{json_client_library_main.cc}::CoutJsonSchemaDefaultErrorHandler, and JsonSchemaDefaultErrorHandler.
|
pure virtual |
Called if a schema reference is encountered in the JSON document as MySQL does not support such constructs.
Implemented in anonymous_namespace{json_client_library_main.cc}::CoutJsonSchemaDefaultErrorHandler, and JsonSchemaDefaultErrorHandler.