开发者

xml to json to jsonp converter

开发者 https://www.devze.com 2023-03-12 05:15 出处:网络
Does such a converter exist? For example, I want to convert the following: http://w开发者_如何学Pythonww.bbc.co.uk/travelnews/tpeg/cy/regions/rtm/wales_rss.xml

Does such a converter exist?

For example, I want to convert the following:

http://w开发者_如何学Pythonww.bbc.co.uk/travelnews/tpeg/cy/regions/rtm/wales_rss.xml

to pure jsonp.


Something like this query using YQL ?

select * from xml where url='http://www.bbc.co.uk/travelnews/tpeg/cy/regions/rtm/wales_rss.xml'


XSLT can be used to convert from XML to JSON. From there it's trivial to convert to JSONP.


if it's just a one time conversion you could use:

http://jsoneditor.net/

To convert to JSON

0

精彩评论

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