Open Lighting Architecture
0.9.2
|
Replace the value at the specifed path.
Public Member Functions | |
JsonPatchReplaceOp (const JsonPointer &path, const JsonValue *value) | |
Replace the JsonValue at the specified path. | |
bool | Apply (JsonValue **value) const |
Apply the patch operation to the value. |
|
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.