mirror of
https://github.com/denoland/deno.git
synced 2025-02-08 15:21:26 -05:00
![Satya Rohith](/assets/img/avatar_default.png)
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"
|
|
}
|
|
}
|