MySQL 9.0.0
Source Code Documentation
json_error_handler.h File Reference
#include <cstdlib>
#include <functional>

Go to the source code of this file.

Classes

class  JsonSerializationErrorHandler
 Error handler for the functions that serialize a JSON value in the JSON binary storage format. More...
 
class  JsonSchemaErrorHandler
 Error handler to be used when parsing JSON schemas and validating JSON objects using a JSON schema. More...
 
class  JsonParseDefaultErrorHandler
 
class  JsonSerializationDefaultErrorHandler
 Error handler to be used when serializing JSON binary values in server code. More...
 
class  JsonSchemaDefaultErrorHandler
 The default error handler to be used when parsing JSON schemas and validating JSON objects using a JSON schema inside the MySQL server. More...
 
class  JsonCoercionErrorHandler
 Callback function called when a coercion error occurs. More...
 
class  JsonCoercionWarnHandler
 Callback function called when a coercion error occurs. More...
 
class  JsonCoercionDeprecatedDefaultHandler
 Callback function that checks if MYSQL_TIME_STATUS contains a deprecation warning. More...
 

Typedefs

using JsonParseErrorHandler = std::function< void(const char *parse_err, size_t err_offset)>
 
using JsonErrorHandler = std::function< void()>
 
using JsonCoercionHandler = std::function< void(const char *target_type, int error_code)>
 
using JsonCoercionDeprecatedHandler = std::function< void(MYSQL_TIME_STATUS &status)>
 

Functions

void JsonDepthErrorHandler ()
 

Typedef Documentation

◆ JsonCoercionDeprecatedHandler

◆ JsonCoercionHandler

using JsonCoercionHandler = std::function<void(const char *target_type, int error_code)>

◆ JsonErrorHandler

using JsonErrorHandler = std::function<void()>

◆ JsonParseErrorHandler

using JsonParseErrorHandler = std::function<void(const char *parse_err, size_t err_offset)>

Function Documentation

◆ JsonDepthErrorHandler()

void JsonDepthErrorHandler ( )