Google Sheets Tip: Generate JSON Data from Rows and Columns

You may encounter a scenario where you need to convert data from your Google Sheets spreadsheet to JSON format. You may need this to use as input to another app or system.
For example, our EZ Exporter app supports a function that takes a raw JSON string that can be used for looking up values (like a lookup table).
JSON data can have complex nested structure but a typical format you'll see is an array that looks like this:
["Alice", "Bob", "Eve", …Read more