在 JSON 与 XML 之间互转,可调缩进、根元素名。
{ "user": { "id": 1, "name": "Alice", "emails": [ "a@a.com", "b@b.com" ] }, "active": true }
<?xml version="1.0" encoding="UTF-8"?> <root> <user> <id>1</id> <name>Alice</name> <emails>a@a.com</emails> <emails>b@b.com</emails> </user> <active>true</active> </root>
JSON ↔ CSV
对象数组与 CSV 互转,可选分隔符与首列字段顺序。
JSON ↔ YAML
在 JSON 与 YAML 之间互转,保留注释结构能力有限。
JSON → Go Struct
从任意 JSON 推导出 Go 结构体定义,支持 json tag。
JSON → TypeScript
从任意 JSON 生成 TypeScript Interface / Type 定义。