29 #ifndef INCLUDE_OLA_WEB_JSONDATA_H_ 30 #define INCLUDE_OLA_WEB_JSONDATA_H_ 97 std::auto_ptr<const JsonValue> m_value;
106 #endif // INCLUDE_OLA_WEB_JSONDATA_H_ bool SetValue(JsonValue *value)
Set the value for this JsonData.
Definition: JsonData.cpp:31
The base class for JSON values.
Definition: Json.h:119
Represents a JSON text as defined in section 2 of RFC7158.
Definition: JsonData.h:57
bool Apply(const JsonPatchSet &patch)
Apply a set of JSON patches to the value.
Definition: JsonData.cpp:41
Implementation of JSON Patch (RFC 6902).
const JsonValue * Value() const
Return the JsonValue for this text.
Definition: JsonData.h:76
const ValidatorInterface * GetSchema() const
Return the schema for this JSON data.
Definition: JsonData.h:94
An ordered collection of JsonPatchOps.
Definition: JsonPatch.h:205
JsonData(const JsonValue *value, ValidatorInterface *schema=NULL)
Construct a new JsonData.
Definition: JsonData.h:65
The interface Json Schema Validators.
Definition: JsonSchema.h:56
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
A Json Schema, see www.json-schema.org.
Basic data types used to represent elements in a JSON document.