majdi_marmas
New Member
- Joined
- Dec 4, 2015
- Messages
- 17
I have a json data file which I would like to convert to CSV or excel.
The data in JSON file looks like this:
[
{
"car": "Audi",
"price": 40000,
"color": "blue"
}, {
"car": "BMW",
"price": 35000,
"color": "black",
"damaged": "false"
"available": "true"
}, {
"car": "Porsche",
"price": 60000,
"color": "green"
}
];
I would like it to be displayed as:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]car[/TD]
[TD] price[/TD]
[TD] color[/TD]
[TD]damaged[/TD]
[TD]available[/TD]
[/TR]
[TR]
[TD]Audi[/TD]
[TD="align: right"]40000[/TD]
[TD]blue[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BMW[/TD]
[TD="align: right"]35000[/TD]
[TD]black[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD]Porsche[/TD]
[TD="align: right"]60000[/TD]
[TD]green[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The tricky par things are:
1- I have more than 120,000 lines, most of the online convertors can handle only 1000 record
2- As you can see in some line there are more fields.
Thanks for all of this fantastic forum for your help (you've saved me several times)
I would love to donate if there is such an option to keep this forum running as is.
Many thanks in advance
The data in JSON file looks like this:
[
{
"car": "Audi",
"price": 40000,
"color": "blue"
}, {
"car": "BMW",
"price": 35000,
"color": "black",
"damaged": "false"
"available": "true"
}, {
"car": "Porsche",
"price": 60000,
"color": "green"
}
];
I would like it to be displayed as:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]car[/TD]
[TD] price[/TD]
[TD] color[/TD]
[TD]damaged[/TD]
[TD]available[/TD]
[/TR]
[TR]
[TD]Audi[/TD]
[TD="align: right"]40000[/TD]
[TD]blue[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BMW[/TD]
[TD="align: right"]35000[/TD]
[TD]black[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD]Porsche[/TD]
[TD="align: right"]60000[/TD]
[TD]green[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The tricky par things are:
1- I have more than 120,000 lines, most of the online convertors can handle only 1000 record
2- As you can see in some line there are more fields.
Thanks for all of this fantastic forum for your help (you've saved me several times)
I would love to donate if there is such an option to keep this forum running as is.
Many thanks in advance