Skip to content

Instantly share code, notes, and snippets.

@ochilab
Last active April 28, 2023 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ochilab/5603398 to your computer and use it in GitHub Desktop.
Save ochilab/5603398 to your computer and use it in GitHub Desktop.
GASでJSONを出力するためのサンプル
function doGet(e)
var json; //jsonのデータを格納しておく
var output = ContentService.createTextOutput();
output.setMimeType(ContentService.MimeType.JSON);
output.setContent(jsonp);
return output;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment