DATAREST-787 - Remove dependency to JSON Patch library.

Switched to own JSON Patch implementation built by Craig Walls for Spring Sync back in the days.
This commit is contained in:
Oliver Gierke
2015-09-30 20:47:09 -04:00
parent 6075f3052a
commit 4430e78966
31 changed files with 1932 additions and 78 deletions

View File

@@ -0,0 +1,7 @@
[
{"op":"test", "path":"/5/description", "value":"A"},
{"op":"remove", "path":"/5"},
{"op":"replace", "path":"/1/complete", "value":true},
{"op":"copy", "path":"/3/description", "from":"/2/description"},
{"op":"copy", "path":"/4", "from":"/0"}
]

View File

@@ -0,0 +1,8 @@
[
{"op":"test", "path":"/5/description", "value":"A"},
{"op":"remove", "path":"/5"},
{"op":"replace", "path":"/1/complete", "value":true},
{"op":"test", "path":"/0/description", "value":"HUH"},
{"op":"copy", "path":"/3/description", "from":"/2/description"},
{"op":"copy", "path":"/4", "from":"/0"}
]

View File

@@ -0,0 +1,8 @@
[
{"op":"test", "path":"/0", "value":{"id":1,"description":"A","complete":true}},
{"op":"test", "path":"/5/description", "value":"F"},
{"op":"remove", "path":"/5"},
{"op":"replace", "path":"/1/complete", "value":true},
{"op":"copy", "path":"/3/description", "from":"/2/description"},
{"op":"copy", "path":"/4", "from":"/0"}
]