Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::web::JsonPatchOp Class Referenceabstract

Detailed Description

A class to serialize a JSONValue to text.

Inheritance diagram for ola::web::JsonPatchOp:
ola::web::JsonPatchAddOp ola::web::JsonPatchCopyOp ola::web::JsonPatchMoveOp ola::web::JsonPatchRemoveOp ola::web::JsonPatchReplaceOp ola::web::JsonPatchTestOp

Public Member Functions

virtual bool Apply (JsonValue **value) const =0
 Apply the patch operation to the value.
 

Member Function Documentation

◆ Apply()

virtual bool ola::web::JsonPatchOp::Apply ( JsonValue ** value) const
pure 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.

Implemented in ola::web::JsonPatchAddOp, ola::web::JsonPatchCopyOp, ola::web::JsonPatchMoveOp, ola::web::JsonPatchRemoveOp, ola::web::JsonPatchReplaceOp, and ola::web::JsonPatchTestOp.


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