I'd like to handle a bunch of data in Google Spreadsheets so I can easily create charts and all that stuff. The data come in Json format from an URL. I can successfully get those data in a Spreadsheet but I cannot figure out an easy way to distribute those data into columns of the sheet.
This is a sample of the JSON structure:
Is there any easy way to achieve my goal?
Thanks a lot.
How about this sample script? This sample script retrieves all elements in JSON data using the recursive call, and import them to Spreadsheet.
In order to use this script, please set as follows. 1. Use this script as a bound script for Spreadsheet. 1. Define
json
data inmain()
or as a global variable.Sample JSON :
Sample Script :
Result :
If I misunderstand your question, I'm sorry.