fix_json
Repair broken JSON files by stripping comments, fixing trailing commas, converting single quotes, and removing BOM/NUL characters. Use dry_run mode to analyze without modifying.
Instructions
Repair broken JSON: strip comments, fix trailing commas, convert single quotes, remove BOM/NUL. Supports dry_run mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the JSON file | |
| dry_run | No | true = analyze only, false = write repaired file |