mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -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"
|
|
}
|
|
}
|