JSON 与 XML 互转器
在 JSON 和 XML 格式之间在线转换。免费、隐私、100% 客户端运行。
Local only
最近历史
暂无历史
使用方法
- 将 JSON 或 XML 粘贴到输入框。
- 选择 JSON 转 XML 或 XML 转 JSON 模式。
- JSON 转 XML 时可选设置根元素名称。
- 复制或下载结果。
使用此工具的任务
转换 CSV to XML
转换 tabular CSV data to XML for systems that require XML input. Each row becomes an XML element with child elements for columns. 任务
转换 Apple plist files to JSON
Apple 属性 lists (plist) 序列化数据在 XML 或二进制格式化. Convert 到 JSON 为 cross-平台 use 和 easier manipulation. 任务
转换 XML to JSON and back
Translate 之间 XML 和 JSON 为 interoperability 具有遗留 APIs, preserving attributes, namespaces, 和 mixed 内容. 任务
转换 XML to YAML
转换 XML documents to YAML for more readable configuration files. YAML's indentation-based syntax is cleaner than XML's tags for human-authored data. 任务
解析 XML with namespaces
XML namespaces qualify 元素 names 到 avoid collisions. Learn xmlns 声明, 默认 vs prefixed namespaces, 和如何解析它们正确. 任务
Use XPath 到查询 XML documents
XPath navigates XML trees 具有路径 expressions, predicates, 和函数. Learn absolute 和 relative paths, wildcards, 和常见函数. 任务
使用此工具的管道
常见问题
- 数组在 XML 中如何表示?
- JSON 数组转换为同名标签的重复 XML 元素。
- 如何处理 XML 属性?
- 本转换器专注于基于元素的 XML,属性不做特殊解析,视为标签的一部分。