Skip to content
fge edited this page Mar 23, 2013 · 1 revision

Link to source code

https://github.com/fge/json-schema-processor-examples/blob/master/src/main/java/com/github/fge/jsonpatch/JsonPatchProcessor.java

Inputs and outputs

  • Input: a JsonPatchInput (the JSON Patch as JSON, plus the JSON value to patch)
  • Output: a ValueHolder<JsonNode>

What it does

This processor applies a JSON Patch to a JSON value.

It will fail to apply the patch if either the patch is invalid or the patch fails to apply to the type of node.

Software used