开发者

Is there an online JSON to XML converter? [closed]

开发者 https://www.devze.com 2023-03-16 16:14 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off开发者_运维技巧-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

I wonder if there is an online JSON to XML converter I can use.


Sure there is: http://www.utilities-online.info/xmltojson/

(URL fixed to moved location. This comment necessary to meet minimum edit requirements.)


Another one http://json.online-toolz.com/tools/xml-json-convertor.php

But it skips some data:

<test>
  <el id="1">content</el>
</test>

you'll get

{"test":{"el":"content"}}

So id attribute will be lost.


You can try these: http://www.thomasfrank.se/xml_to_json.html

http://www.freeformatter.com/xml-to-json-converter.html


Recently I was learning EmberJS so I have built another one XML to JSON online tool. It have an option to include attributes or not.

Check it out http://dfsq.info/xml2json.

0

精彩评论

暂无评论...
验证码 换一张
取 消