diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-09-25 17:35:56 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-09-25 17:37:16 +0200 |
| commit | fffb55f79a3369fa2dcf39371091c48ff61f55a8 (patch) | |
| tree | 6d48f81b7edd5f70a1eadf3ada88379646ebbe10 /tests/res | |
| parent | ddd3b6a82b8c0353c942bfba8b89ca5476eedc58 (diff) | |
JSON reading
Diffstat (limited to 'tests/res')
| -rw-r--r-- | tests/res/bad.json | 4 | ||||
| -rw-r--r-- | tests/res/zoo.json | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/res/bad.json b/tests/res/bad.json new file mode 100644 index 00000000..cd5d0366 --- /dev/null +++ b/tests/res/bad.json @@ -0,0 +1,4 @@ +{ + "valid": true, + "invalid": True +} diff --git a/tests/res/zoo.json b/tests/res/zoo.json new file mode 100644 index 00000000..3b5a7ffc --- /dev/null +++ b/tests/res/zoo.json @@ -0,0 +1,20 @@ +[ + { + "name": "Debby", + "species": "Rhinoceros", + "weight": 1900, + "length": 390 + }, + { + "name": "Fluffy", + "species": "Tiger", + "weight": 115, + "length": 310 + }, + { + "name": "Sleepy", + "species": "Dolphin", + "weight": 150, + "length": 180 + } +] |
