A parsed JSON Patch document, as described in RFC 6902 "JSON Patch".
Synopsis
Declared in <folly/json/json_patch.h>
class json_patch;
Description
Implements parsing. Application over data structures must be implemented separately.
Types
Name |
Description |
Error returned when parsing a JSON patch object fails. |
|
Error returned when applying a patch fails. |
|
A single JSON patch operation, whose arguments vary by operation type. |
Enums
Name |
Description |
Reason a JSON patch object failed to parse. |
|
Reason applying a patch operation failed. |
|
The kind of a single JSON patch operation. |
Member Functions
Name |
Description |
|
Constructs an empty patch. |
|
Destroys the patch. |
Mutates the supplied object in accordance with the patch operations. |
|
Returns the parsed patch operations. |
Static Member Functions
Name |
Description |
Parses a JSON patch document into a json_patch. |
Created with MrDocs