I'm trying to find a solution to parse a random JSON to Excel. I tried using JSON.NET but it seams that I always need to know the field names. But I will not know them. And the data count can also vary. For example:
{
"0":{
"Index":"A1",
"ABC-05":3.0,
"XY-06":3.0
},
"1":{
"Index":"A4",
"ABC-05":1.0,
"XY-06":1.0
}
}
But I could also have:
{
"0":{
"Index":"A1",
"ZX-07":3.0,
},
"1":{
"Index":"A4",
"ZX-07":1.0,
}
}
The index field will always be there.
Can you please give me some advice?