Is there any way to convert multiple JSON files into one CSV-file ?
My JSON file is like this:
{
"Title" : {
"name" : "ABC",
"id" : "1",
"job": "Teacher"
},
"Circle":{
"area":"2R"
},
"Triangle":{
"length":"45"
}
}
If you will see, this JSON has 3 roots and different elements under each root. How to convert this JSON to CSV so that it can be opened in excel and can be viewed as follows:
Title
Name ABC
id 1
job Teacher
Circle
area 2r
Triangle
length 45
Can someone please suggest?
JSON parserjsonString.replaceAll("[\\\"\\{\\}\\:\\,]"," ");because that produces something very similar to your CSV.