Interface | Description |
---|---|
JsonPatchFactory |
A JsonPatchFactory is able to create a JsonPatch from a JsonNode.
|
JsonPatchOperation |
Base abstract class for one patch operation
|
JsonPatchOperationFactory |
Class | Description |
---|---|
AddOperation |
JSON Patch
add operation |
AddOperationFactory | |
CopyOperation |
JSON Patch
copy operation |
CopyOperationFactory | |
DualPathOperation |
Base class for JSON Patch operations taking two JSON Pointers as arguments
|
JsonPatch |
Implementation of JSON Patch
|
JsonPatchFactoryUtil |
Utilities for JsonPatchFactory.
|
JsonPatchMessages | |
JsonPatchOperationFactoryBase |
The JsonPatchOperationFactoryBase implements a few common operations
for all JsonPatchOperationFactorys.
|
MoveOperation |
JSON Patch
move operation |
MoveOperationFactory | |
OmitOperation |
Extended JSON Patch
omit operation. |
OmitOperationFactory | |
PathValueOperation |
Base class for patch operations taking a value in addition to a path
|
RegistryBasedJsonPatchFactory |
RegistryBasedJsonPatchFactory is responsible for parsing JsonNodes into JsonPatch objects based on
which JsonPatchOperations it knows about in its registry.
|
RegistryBasedJsonPatchFactory.Builder |
Builds a JsonPatchFactory based on the patch operations we want to register
|
RemoveOperation |
JSON Path
remove operation |
RemoveOperationFactory | |
ReplaceOperation |
JSON Patch
replace operation |
ReplaceOperationFactory | |
TestOperation |
JSON Patch
test operation |
TestOperationFactory |
Exception | Description |
---|---|
JsonPatchException |
As its name implies, JSON Patch is a mechanism designed to modify JSON documents. It consists of a series of operations to apply in order to the source JSON document until all operations are applied or an error has been encountered.
The main class is JsonPatch
.
Note that at this moment, the only way to build a patch is from a JSON
representation (as a JsonNode
).