JSON Object to CSV file

Denis McMahon denismfmcmahon at gmail.com
Sun Jun 21 02:45:59 EDT 2015


On Wed, 17 Jun 2015 08:00:11 -0700, Saran A wrote:

> I would like to have this JSON object written out to a CSV file so that
> the keys are header fields (for each of the columns) and the values are
> values that are associated with each header field.

> {
> "CF": {
.......
> "CF": "Fee",

Your json object seems to have the same key used for two elements at the 
same level, are you sure this is legal json?

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list