JSON formatter / minifier
json_formatterValidate and pretty-print or minify JSON, reporting the line and column on a parse error. Runs on smart-tools.xyz.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | JSON text to format | |
| action | No | pretty = indented (default); minify = single line | |
| indent | No | Spaces per level for pretty (default 2), or "tab" for tabs | |
| locale | No | Language for the source_url link (default en) |