开发者

xml to json to jsonp converter

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜