How to convert JSON to XML? (preferably with Yahoo Pipes or Ruby) -


A lot of information to JSON conversion to XML ... but I would like to convert it into a JSON result XML.

For example, the iTunes Search API provides output in JSON format only.

I want to consume this JSON result as an XML feed (read by any standard feed reader).

If I can put Yahoo Pipes in the workload, it would be great (this is a free service and will reduce the load on my server).

On the one hand my site is being built with Ruby / Sinatra - hosted on Heroku.

It is quite easy Yahoo! With the pipe or YQL ended with the same when I use this query: