public class JsonPatchFactory extends 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 IOException
node
- the JSON representation of the generated JSON PatchIOException
- input is not a valid JSON patchNullPointerException
- input is null