Code Review
/
cps.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug fix for delete data node not working for root node
[cps.git]
/
csit
/
data
/
bookstorePatchExample.json
1
{
2
"ietf-restconf:yang-patch":{
3
"patch-id":"patch-1",
4
"edit":[
5
{
6
"edit-id":"edit1",
7
"operation":"merge",
8
"target":"/",
9
"value":{
10
"bookstore": {
11
"categories": [
12
{
13
"code": "100",
14
"books": [
15
{
16
"title": "A new book in a new category",
17
"pub_year": "2019",
18
"authors": [
19
"Rahul"
20
],
21
"lang": "English",
22
"price": "2011"
23
}
24
],
25
"name": "Category100"
26
}
27
]
28
}
29
}
30
},
31
{
32
"edit-id":"edit2",
33
"operation":"merge",
34
"target":"/",
35
"value":{
36
"bookstore": {
37
"categories": [
38
{
39
"code": "02",
40
"name": "Horror",
41
"books": [
42
{
43
"title": "A New book in existing category",
44
"lang": "English",
45
"authors": [
46
"Joe & Rahul"
47
],
48
"pub_year": "2003",
49
"price": "2000"
50
}
51
]
52
}
53
]
54
}
55
}
56
}
57
]
58
}
59
}