JSON Flattener
Flatten nested JSON objects into key-value pairs with customizable delimiters and flattening strategies
API Documentation
Request Endpoint
POST /en/api/tools/json-flattener
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| jsonInput | textarea | Yes | - |
| strategy | select | Yes | - |
| delimiter | text | No | - |
| maxDepth | number | No | - |
| includeArrays | checkbox | No | - |
| filterNulls | checkbox | No | - |
| preserveOrder | checkbox | No | - |
| sortKeys | select | Yes | - |
Response Format
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
JSON Data:
JSON Data
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-json-flattener": {
"name": "json-flattener",
"description": "Flatten nested JSON objects into key-value pairs with customizable delimiters and flattening strategies",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=json-flattener",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]