分类

JSON反扁平化工具

将扁平化的键值对转换回嵌套的JSON对象,支持不同键格式和数据类型推断

API 文档

请求端点

POST /zh/api/tools/json-unflattener

请求参数

参数名 类型 必填 描述
dataInput textarea -
inputFormat select -
keyFormat select -
delimiter text -
typeInference select -
arrayMode select -
mergeStrategy select -
preserveEmpty checkbox -

响应格式

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON数据: JSON数据

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-json-unflattener": {
      "name": "json-unflattener",
      "description": "将扁平化的键值对转换回嵌套的JSON对象,支持不同键格式和数据类型推断",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=json-unflattener",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

如果遇见问题,请联系我们:[email protected]