aboutsummaryrefslogtreecommitdiffstats
path: root/tests/templates/json
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-07 20:25:00 -0500
committerGitHub <noreply@github.com>2020-08-07 20:25:00 -0500
commit05dba35cab34c2524b945da0164327b7b8a1159d (patch)
treee1f263a316839c0d32a413c120a3c92426f36817 /tests/templates/json
parentCreate python-package-ci.yml (diff)
parentFix ConfigFile default (diff)
downloadconfig-file-05dba35cab34c2524b945da0164327b7b8a1159d.zip
Merge pull request #24 from eugenetriguba/dev
v0.11.0
Diffstat (limited to 'tests/templates/json')
-rw-r--r--tests/templates/json/all_strings.json9
-rw-r--r--tests/templates/json/default.json13
-rw-r--r--tests/templates/json/invalid.json1
3 files changed, 23 insertions, 0 deletions
diff --git a/tests/templates/json/all_strings.json b/tests/templates/json/all_strings.json
new file mode 100644
index 0000000..18ada7b
--- /dev/null
+++ b/tests/templates/json/all_strings.json
@@ -0,0 +1,9 @@
+{
+ "header": {
+ "list": "[]",
+ "dict": "{}",
+ "num": "5",
+ "bool": "false",
+ "float": "5.5"
+ }
+} \ No newline at end of file
diff --git a/tests/templates/json/default.json b/tests/templates/json/default.json
new file mode 100644
index 0000000..83d9b1e
--- /dev/null
+++ b/tests/templates/json/default.json
@@ -0,0 +1,13 @@
+{
+ "header_one": {
+ "number_key": 0
+ },
+ "header_two": {
+ "str_key": "string",
+ "list_key": [
+ 1,
+ 2,
+ 3
+ ]
+ }
+} \ No newline at end of file
diff --git a/tests/templates/json/invalid.json b/tests/templates/json/invalid.json
new file mode 100644
index 0000000..8e12c39
--- /dev/null
+++ b/tests/templates/json/invalid.json
@@ -0,0 +1 @@
+{'test': } \ No newline at end of file