mirror of
https://github.com/tristanpenman/valijson.git
synced 2025-01-31 14:39:53 +01:00
Add file-level documentation to std_string_adapter.hpp
This commit is contained in:
parent
6287656e2b
commit
42cdb3f5b3
@ -1,3 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief Adapter implementation that wraps a single std::string value
|
||||||
|
*
|
||||||
|
* This allows property names to be validated against a schema as though they are a generic JSON
|
||||||
|
* value, while allowing the rest of Valijson's API to expose property names as plain std::string
|
||||||
|
* values.
|
||||||
|
*
|
||||||
|
* This was added while implementing draft 7 support. This included support for a constraint
|
||||||
|
* called propertyNames, which can be used to ensure that the property names in an object
|
||||||
|
* validate against a subschema.
|
||||||
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user