DATAREST-889 - JsonPatchPatchConverter explicitly rejects unknown paths and values.

JsonPatchPatchConverter now explicitly rejects problematic JSON Patch payloads (e.g. incorrect paths, incorrect values) throwing a PatchException.

Original pull request: #227.
This commit is contained in:
Oliver Trosien
2016-09-07 12:48:24 +02:00
committed by Oliver Gierke
parent 1513482b9c
commit 48125faea3
6 changed files with 41 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
[
{"op":"replace", "path":"/amount", "value": 18446744073709551616 }
]

View File

@@ -0,0 +1,3 @@
[
{"op":"add", "path":"/description", "value": { "content" : "blabla"}}
]