JSON to CSV Format

eltel2910

New Member
Joined
Jun 27, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have recovered database information that I am trying to reconnstruct, the data was given in JSON format like this:

"layerServerGens":[{"id":0,"serverGen":234091}],"transportType":"esriTransportTypeUrl","responseType":"esriDataChangesResponseTypeEdits","edits":[{"id":0,"features":{"adds":[],"updates":[],"deletes":[{"geometry":{"x":434757.92663790932,"y":2329162.1516300468},"attributes":{"FID":781,"GlobalID_3":"7786EC58-1FDD-448A-9F11-22A52D67FC70","Long":null,"Lat":null,"OWNER":null,"INSTALLATI":null,"COMMENTS":null,"HEIGHT":null,"MATERIAL":null,"STYLE":null,"GLOBALID":null,"NAME":null,"BUILD":null,"STATUS":null,"GlobalID_2":null,"CreationDa":null,"Creator":null,"EditDate":null,"Editor":null,"layer":null,"path":null,"CreationDate":1664812533657,"Creator_1":"admin.wideband","EditDate_1":1664812533657,"Editor_1":"admin.wideband","NODE":null}},{"geometry":{"x":1059115.5835527368,"y":2865797.5113765462},"attributes":{"FID":782,"GlobalID_3":"F83F39EF-F428-4A3A-B494-4FBB9EA5B542","Long":null,"Lat":null,"OWNER":"AMERICAN TOWER","INSTALLATI":null,"COMMENTS":null,"HEIGHT":null,"MATERIAL":null,"STYLE":null,"GLOBALID":null,"NAME":"TOWER-AT","BUILD":null,"STATUS":null,"GlobalID_2":null,"CreationDa":null,"Creator":null,"EditDate":null,"Editor":null,"layer":null,"path":null,"CreationDate":1677264270803,"Creator_1":"rsigns.wideband","EditDate_1":1677264316967,"Editor_1":"rsigns.wideband","NODE":null}}, ...... format repeats and "geometry" represents the begining of each new dataset and continues on for a long time ....

Mostly, I need the X and Y data to plot the points, but the other attributes are important as well. Looking for ideas for getting excel to format the data similar to the attached image
 

Attachments

  • Desired Excel Output.JPG
    Desired Excel Output.JPG
    106.9 KB · Views: 4

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Have you read this thread?

 
Upvote 0
I see as well that if I google "JSON to CSV Format" there are many hits, including several online converters.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Convert JSON to .CSV
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,638
Members
452,663
Latest member
MEMEH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top