Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Google Apps Script を使用して Google スプレッドシートの内容を JSON として取得する簡単な方法は何ですか?
GoogleスプレッドシートでTools > Scripts > Script Editor
Tools > Scripts > Script Editor
このコードを挿入し、再生ボタンを押します
function getValues() { var range = SpreadsheetApp.getActiveSheet().getDataRange(); var json = Utilities.jsonStringify(range.getValues()) Browser.msgBox(json); }