summaryrefslogtreecommitdiff
path: root/cli/tests/badly_formatted_fixed.json
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2021-02-18 22:01:32 +0530
committerGitHub <noreply@github.com>2021-02-18 17:31:32 +0100
commitd9b1f96897239bf7de8cdfd11d40e3f99bb29a4a (patch)
tree4a1c60d4850111f738b485bbad5f43659bd9ed09 /cli/tests/badly_formatted_fixed.json
parentc0f10e72ee64f1512e6aff20a841f4696e774217 (diff)
feat: add json(c) support to deno fmt (#9292)
This commit adds support for formatting JSON and JSONC in "deno fmt". New values "json" and "jsonc" are added to "--ext" flag for standard input processing.
Diffstat (limited to 'cli/tests/badly_formatted_fixed.json')
-rw-r--r--cli/tests/badly_formatted_fixed.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/badly_formatted_fixed.json b/cli/tests/badly_formatted_fixed.json
new file mode 100644
index 000000000..0d697a2c6
--- /dev/null
+++ b/cli/tests/badly_formatted_fixed.json
@@ -0,0 +1,8 @@
+{
+ "key1": "value1",
+ "key2": true,
+ "key3": ["value2", "value3", false],
+ "keys": {
+ "more": "values"
+ }
+}