Converting JSON to CSV in C++
===

I'm trying to convert JSON arrays to CSV files in C++ and I'm curious what the method should be. 

Let's say I have a JSON array that looks like this:

[["Bcode","firstname","lastname"],<br>
["11234","richard","nixon"]]

and I want to convert it to a .csv that, (as I understand it) would be

Bcode,firstname,lastname,<br>
11234,richard,nixon

The JSON array I'm getting seems to already have a line break in it, so can I just delete all the quotation marks and brackets and have it be a workable CSV file?

Alternately, is there any file extension that I can save JSON arrays to that can be read by MSExcel?

Thanks