minify_json
Reduce JSON or JSONC to a single line using local files or inline strings, with an optional output file. Operates offline with no external requests.
Instructions
Minify JSON to one line. Local files/strings only. Does not fetch URLs or contact external services.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw JSON/JSONC string (alternative to filePath). | |
| filePath | No | Local JSON/JSONC file path. | |
| outputPath | No |