-
Notifications
You must be signed in to change notification settings - Fork 196
Expand file tree
/
Copy pathtest.json
More file actions
41 lines (41 loc) · 1.2 KB
/
test.json
File metadata and controls
41 lines (41 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"errors": [
{
"op": { "op": "test", "path": "/x", "value": {} },
"node": [ 1, 2 ],
"message": "jsonPatch.noSuchPath"
},
{
"op": { "op": "test", "path": "", "value": true },
"node": [ 1, 2 ],
"message": "jsonPatch.valueTestFailure"
},
{
"op": { "op": "test", "path": "/x", "value": -30.000 },
"node": { "x": -29.020 },
"message": "jsonPatch.valueTestFailure"
},
{
"op": { "op": "test", "path": "/a/1", "value": null },
"node": { "a": [ null, "hello", "world" ] },
"message": "jsonPatch.valueTestFailure"
}
],
"ops": [
{
"op": { "op": "test", "path": "", "value": 1 },
"node": 1.00,
"expected": 1.00
},
{
"op": { "op": "test", "path": "/a/1", "value": "hello" },
"node": { "a": [ null, "hello", "world" ] },
"expected": { "a": [ null, "hello", "world" ] }
},
{
"op": { "op": "test", "path": "/x", "value": null },
"node": 1.00,
"expected": 1.00
}
]
}