Open Lighting Architecture
Latest Git
|
An ordered collection of JsonPatchOps.
Public Member Functions | |
void | AddOp (JsonPatchOp *op) |
Add a patch operation to the set. More... | |
bool | Apply (JsonValue **value) const |
Apply this patch set to a value. More... | |
bool | Empty () const |
void ola::web::JsonPatchSet::AddOp | ( | JsonPatchOp * | op | ) |
Add a patch operation to the set.
op | the operation to add, ownership is transferred. |
bool ola::web::JsonPatchSet::Apply | ( | JsonValue ** | value | ) | const |
Apply this patch set to a value.
Don't call this directly, instead use JsonData::Apply().