3 variations on CSV to JSON

Randomly following up a search for "convert CSV to JSON", I found three 
different formats, each good for different access needs.

"JSON Properties"

[
   {"Town":"Southton","Population":123000},
   {"Town":"Northville","Population":654000}
]

"JSON - Column Arrays"

{
   "Town":["Southton","Northville"],
   "Population":[123000,654000]
}


"JSON - Row Arrays"

[
   ["Southton",123000],
   ["Northville",654000]
]


(I used http://shancarter.github.io/mr-data-converter/ -- there are 
other services offering the same output formats)

Are there other forms for generic CSV to JSON?

 Andy

Received on Wednesday, 19 March 2014 22:05:27 UTC