|
pjson 1.0.0
A small, owning JSON value for C++11
|
One schema-validation failure: path is a JSON Pointer to the offending node (e.g. "/address/zip", "" for the document root) and message explains what was wrong.
More...
#include <pjson.h>
Public Member Functions | |
| SchemaError () | |
Public API member SchemaError; see the API overview for its contract. / Constructs an error for aPath with the supplied diagnostic message. | |
| SchemaError (const std::string &aPath, const std::string &aMsg) | |
Public API member SchemaError; see the API overview for its contract. | |
Public Attributes | |
| std::string | path |
Public API member path; see the API overview for its contract. | |
| std::string | message |
Public API member message; see the API overview for its contract. / Constructs an error with an empty root path and message. | |
One schema-validation failure: path is a JSON Pointer to the offending node (e.g. "/address/zip", "" for the document root) and message explains what was wrong.
| ByteDance::pjson::SchemaError::SchemaError | ( | ) |
Public API member SchemaError; see the API overview for its contract. / Constructs an error for aPath with the supplied diagnostic message.
Public API member SchemaError; see the API overview for its contract.
| std::string ByteDance::pjson::SchemaError::message |
| std::string ByteDance::pjson::SchemaError::path |