Open Lighting Architecture
Latest Git
|
Replace the value at the specified path.
Public Member Functions | |
JsonPatchReplaceOp (const JsonPointer &path, const JsonValue *value) | |
Replace the JsonValue at the specified path. More... | |
bool | Apply (JsonValue **value) const |
Apply the patch operation to the value. More... | |
|
inline |
Replace the JsonValue at the specified path.
path | The path to replace the value at. |
value | The value to replace with, ownership is transferred. |
|
virtual |
Apply the patch operation to the value.
value | A pointer to a JsonValue object. This may be modified, replaced or deleted entirely by the patch operation. |
Implements ola::web::JsonPatchOp.