JSON to CSV conversion using Java -


is there way convert multiple json files 1 csv-file ?

my json file this:

{   "title" : {       "name" : "abc",       "id" : "1",       "job": "teacher"           },       "circle":{                 "area":"2r"         },         "triangle":{                 "length":"45"         } } 

if see, json has 3 roots , different elements under each root. how convert json csv can opened in excel , can viewed follows:

title name  abc id    1 job   teacher circle area  2r triangle length  45 

can please suggest?

it should first parse json jackson, , can write down csv file using extension. that's option.

other way might use external tool conversion, such json2csv.

hope helps!


Comments