format_json
Format and prettify JSON strings with proper indentation and customizable spacing to improve readability and structure.
Instructions
Format and prettify JSON with proper indentation. Example: {"a":1,"b":2} → formatted JSON with customizable spacing
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON string to format | |
| indent | No | Number of spaces for indentation |