From 5f926f060e2a96c4c4c294215ca6a40f6036e013 Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Sat, 24 Jun 2023 03:39:45 +0100 Subject: [PATCH] Add more examples --- test_files/README.md | 4 +++- test_files/google_maps.json | 25 +++++++++++++++++++++++++ test_files/test.json | 1 + 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 test_files/google_maps.json create mode 100644 test_files/test.json diff --git a/test_files/README.md b/test_files/README.md index 04c4b67..05546e3 100644 --- a/test_files/README.md +++ b/test_files/README.md @@ -1,3 +1,5 @@ # JSON Examples for testing -These examples are copied from this [page](https://www.json.org/example.html) +Most of these examples are copied from this [page](https://www.json.org/example.html) + +`test_files/google_maps.json` is copied from the following [article](https://www.sitepoint.com/google-maps-json-file/) diff --git a/test_files/google_maps.json b/test_files/google_maps.json new file mode 100644 index 0000000..76fa466 --- /dev/null +++ b/test_files/google_maps.json @@ -0,0 +1,25 @@ +{ + "markers": [ + { + "name": "Rixos The Palm Dubai", + "position": [ + 25.1212, + 55.1535 + ], + }, + { + "name": "Shangri-La Hotel", + "location": [ + 25.2084, + 55.2719 + ] + }, + { + "name": "Grand Hyatt", + "location": [ + 25.2285, + 55.3273 + ] + } + ] +} diff --git a/test_files/test.json b/test_files/test.json new file mode 100644 index 0000000..1f0a2bb --- /dev/null +++ b/test_files/test.json @@ -0,0 +1 @@ +{"number": 500}