MySQL 8.4.2
Source Code Documentation
Json_schema_validator::My_remote_schema_document_provider Class Reference

This object acts as a handler/callback for the JSON schema validator and is called whenever a schema reference is encountered in the JSON document. More...

Inheritance diagram for Json_schema_validator::My_remote_schema_document_provider:
[legend]

Public Member Functions

const rapidjson::SchemaDocument * GetRemoteDocument (const char *, rapidjson::SizeType) override
 
bool used () const
 

Private Attributes

bool m_used {false}
 

Detailed Description

This object acts as a handler/callback for the JSON schema validator and is called whenever a schema reference is encountered in the JSON document.

Since MySQL doesn't support schema references, this class is only used to detect whether or not we actually found one in the JSON document.

Member Function Documentation

◆ GetRemoteDocument()

const rapidjson::SchemaDocument * Json_schema_validator::My_remote_schema_document_provider::GetRemoteDocument ( const char *  ,
rapidjson::SizeType   
)
inlineoverride

◆ used()

bool Json_schema_validator::My_remote_schema_document_provider::used ( ) const
inline

Member Data Documentation

◆ m_used

bool Json_schema_validator::My_remote_schema_document_provider::m_used {false}
private

The documentation for this class was generated from the following file: