mirror of
https://github.com/nlohmann/json.git
synced 2024-12-04 22:49:02 +08:00
28dbe4e651
Added all possible exceptions to the examples of the at functions.
12 lines
397 B
Plaintext
12 lines
397 B
Plaintext
1
|
|
"foo"
|
|
[1,2]
|
|
2
|
|
"bar"
|
|
[1,21]
|
|
[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'
|
|
[json.exception.parse_error.109] parse error: array index 'one' is not a number
|
|
[json.exception.out_of_range.401] array index 4 is out of range
|
|
[json.exception.out_of_range.402] array index '-' (2) is out of range
|
|
[json.exception.out_of_range.404] unresolved reference token 'foo'
|