JSON Object to CSV Question

Joonas Liik liik.joonas at gmail.com
Fri Jun 19 14:47:42 EDT 2015


You say you are taking this from an xml file and want to get a CSV file..

Why are you making an intermediate JSON file?
Why do you need the CSV output?
Could you perhaps be better off using another format?

Your data seems to be a quite deeply nested hierarchical structure and
doesn't
  seem to suit the simple CSV format very well.. (i see several layers of
nested arrays for one)..
  how to you plan to map these nested structures to the CSV format?


And your example json bit.. the JSON you posted in your last post seems
quite different from some of the first ones you posted.

You cant expect to give people 5% of a malformed simplified example and to
get anything useful (much less usable) back.

And finally, the original xml? mock at least?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150619/8ba8b4b1/attachment.html>


More information about the Python-list mailing list