public abstract class PathValueOperation extends JsonPatchOperation
| Modifier and Type | Field and Description |
|---|---|
protected JsonNode |
value |
BUNDLE, op, path| Modifier | Constructor and Description |
|---|---|
protected |
PathValueOperation(String op,
JsonPointer path,
JsonNode value)
Protected constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(JsonGenerator jgen,
SerializerProvider provider) |
void |
serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
String |
toString() |
applyprotected final JsonNode value
protected PathValueOperation(String op, JsonPointer path, JsonNode value)
op - operation namepath - affected pathvalue - JSON valuepublic final void serialize(JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException
IOExceptionJsonProcessingExceptionpublic final void serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) throws IOException, JsonProcessingException
IOExceptionJsonProcessingExceptionpublic final String toString()
toString in class JsonPatchOperation