mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 21:23:32 -05:00

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"
|
|
}
|
|
}
|