public class JsonPatchFactory
extends java.lang.Object
| Constructor and Description |
|---|
JsonPatchFactory(ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
JsonPatch |
fromJson(JsonNode node)
Builds a JSON Patch out of a JSON representation with support for an extended set of JSON patch operations
|
ObjectReader |
getReader() |
ObjectWriter |
getWriter() |
public JsonPatchFactory(ObjectMapper mapper)
public ObjectReader getReader()
public ObjectWriter getWriter()
public JsonPatch fromJson(JsonNode node) throws java.io.IOException
node - the JSON representation of the generated JSON Patchjava.io.IOException - input is not a valid JSON patchjava.lang.NullPointerException - input is null