Is there any tool available that can convert a json file to a xml or csv file which can be opened in either of OpenOffice or Excel.
I am working on a web application and using MongoDB as backend. Have exported the data as json from MongoDB and need to convert the data in some format which can be opened by some spreadsheet software. I need to give this data to client and also slice-and-dice and decorate it before handing it over. I am planning to implement a feature which will export the required data in .csv and .xls format, but need a quick dirty solution now.
I had to do this same thing some time back also and found something(a simple script) which saved my day. Can't locate the script again, any help would be very much appreciated.
UPDATE: Still looking for a solution and was trying to assemble a quick ruby script which can solve the problem. Anybody here knows which gem in rails adds to_xml
to hash and array?