Reduce exception guard
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / instanceidentifier / json / jsonPATCHMergeOperationOnContainer.json
1 {
2   "ietf-yang-patch:yang-patch" : {
3     "patch-id" : "Test merge operation",
4     "comment" : "This is test patch for merge operation on container",
5     "edit" : [
6       {
7         "edit-id": "edit1",
8         "operation": "create",
9         "target": "/",
10         "value": {
11           "patch-cont": {
12             "my-list1": [
13               {
14                 "name": "my-list1 - A",
15                 "my-leaf11": "I am leaf11-0",
16                 "my-leaf12": "I am leaf12-1"
17               },
18               {
19                 "name": "my-list1 - B",
20                 "my-leaf11": "I am leaf11-0",
21                 "my-leaf12": "I am leaf12-1"
22               }
23             ]
24           }
25         }
26       },
27       {
28         "edit-id": "edit2",
29         "operation": "merge",
30         "target": "/",
31         "value": {
32           "patch-cont": {
33             "my-list1": {
34               "name": "my-list1 - Merged",
35               "my-leaf11": "I am leaf11-0",
36               "my-leaf12": "I am leaf12-1"
37             }
38           }
39         }
40       }
41     ]
42   }
43 }