Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::web::JsonPatchRemoveOp Class Reference

Detailed Description

Remove the value at the specified path.

Inheritance diagram for ola::web::JsonPatchRemoveOp:
ola::web::JsonPatchOp

Public Member Functions

 JsonPatchRemoveOp (const JsonPointer &path)
 Add the JsonValue to the specified path.
 
bool Apply (JsonValue **value) const
 Apply the patch operation to the value.
 
- Public Member Functions inherited from ola::web::JsonPatchOp

Constructor & Destructor Documentation

◆ JsonPatchRemoveOp()

ola::web::JsonPatchRemoveOp::JsonPatchRemoveOp ( const JsonPointer & path)
inlineexplicit

Add the JsonValue to the specified path.

Parameters
pathThe path to remove.

Member Function Documentation

◆ Apply()

bool ola::web::JsonPatchRemoveOp::Apply ( JsonValue ** value) const
virtual

Apply the patch operation to the value.

Parameters
valueA pointer to a JsonValue object. This may be modified, replaced or deleted entirely by the patch operation.
Returns
True if the patch was successfully applied, false otherwise.

Implements ola::web::JsonPatchOp.


The documentation for this class was generated from the following files: