开发者可以使用
将XML转换为JSON
将XML转换为保留属性、混合内容和重复元素的有序JSON表示。
交互式工具区
无需注册账号100% in-browser. XML is never uploaded. DOCTYPE declarations are rejected; no external resources are fetched.
Ready to convert the current input.
Mapping: each element has an ordered #content array; attributes use @attributes. Repeated children stay in order, values remain strings, and whitespace, CDATA, comments, and processing instructions inside the root are retained. Namespace prefixes are kept. XML declarations and content outside the root are not represented. Nesting is limited to 100 elements.
相关工具
Advertisement
Optional advertising is off until you accept in cookie preferences.
Advertisement
Optional advertising is off until you accept in cookie preferences.
Advertisement
Optional advertising is off until you accept in cookie preferences.
Advertisement
Optional advertising is off until you accept in cookie preferences.
Advertisement
Optional advertising is off until you accept in cookie preferences.
Advertisement
Optional advertising is off until you accept in cookie preferences.
Advertisement
Optional advertising is off until you accept in cookie preferences.