#include <JSONSchema.h>
Interface for a schema validator.
Definition at line 46 of file JSONSchema.h.
Validator::~Validator |
( |
| ) |
|
|
pure virtualdefault |
Check whether the given value passes the schema. Returns an exception_wrapper indicating success or what the failure was.
virtual void folly::jsonschema::Validator::validate |
( |
const dynamic & |
value | ) |
const |
|
pure virtual |
Check whether the given value passes the schema. Throws if it fails.
The documentation for this struct was generated from the following files: