JSON Value Extractor
Extract values from JSON objects using JSONPath expressions. Perfect for extracting specific data from complex nested JSON structures, API responses, and configuration files.
API Documentation
Request Endpoint
POST /en/api/tools/json-path-extractor
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| jsonInput | textarea | Yes | - |
| jsonPaths | textarea | No | JSONPath expressions to extract values. Examples: $.* - All values $.users[*].name - All user names $.data.items[*].price - All item prices Leave empty to extract all values |
| outputFormat | select | Yes | - |
| includePaths | checkbox | No | Include the full path to each extracted value |
| flattenArrays | checkbox | No | Flatten extracted arrays into individual values |
| preserveOrder | checkbox | No | Maintain the original order of values in the JSON |
| nullValues | checkbox | No | Include null values in the extraction results |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-json-path-extractor": {
"name": "json-path-extractor",
"description": "Extract values from JSON objects using JSONPath expressions. Perfect for extracting specific data from complex nested JSON structures, API responses, and configuration files.",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=json-path-extractor",
"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]