JSON/JSONC Code Formatter
Supports:
- JSON
- JSONC (JSON with comments)
Install and Setup
In a dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Add a
"json"
configuration property if desired.
{
// omitted...
"json": {
// json config goes here
},
"plugins": [
"https://plugins.dprint.dev/json-x.x.x.wasm"
]
}
Configuration
See Configuration
Playground
See Playground