mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 10:39:10 -05:00
d9b1f96897
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.
8 lines
116 B
JSON
8 lines
116 B
JSON
{
|
|
"key1": "value1",
|
|
"key2": true,
|
|
"key3": ["value2", "value3", false],
|
|
"keys": {
|
|
"more": "values"
|
|
}
|
|
}
|