json-format
Format and validate JSON strings for improved readability and structure. Specify indentation spaces for organized output, ensuring error-free JSON data.
Instructions
Format and validate JSON
Input Schema
Name | Required | Description | Default |
---|---|---|---|
indent | No | Number of spaces for indentation | |
json | Yes | JSON string to format |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"indent": {
"description": "Number of spaces for indentation",
"type": "number"
},
"json": {
"description": "JSON string to format",
"type": "string"
}
},
"required": [
"json"
],
"type": "object"
}