For some context for seasoned Google Apps Script developers like me until V8 we’ve been working in a bit of an old school JavaScript bubble. With V8 there is an opportunity to write less verbose and more succinct code. To see some of the differences below I’ve copied the Writing JSON data mapped to row headings example from my original post and updated this with a V8 version and will highlight the changes.
This post covers a range of techniques and includes a typical pattern for writing structured data like JSON responses from third party sources.
Source: Google Apps Script Patterns: Writing rows of data to Google Sheets the V8 way