Open Lighting Architecture: ola::web::JsonPatchOp Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ola::web::JsonPatchOp Class Referenceabstract
JSON

## Detailed Description

A class to serialize a JSONValue to text.

Inheritance diagram for ola::web::JsonPatchOp:

## 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

  value | A 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:

- include/ola/web/JsonPatch.h