【发布时间】:2012-07-02 01:41:10
【问题描述】:
我正在尝试将 Google 电子表格链接到 twitter - 让他们互相交谈 - 我正在尝试使用 JSON。 (Trello 和 Google 日历是 JSON 的另一个想法)
根据我收集到的信息,您应该使用 Utilities.JSONParse() 来处理这些数据。我不确定括号中创建 JSON 对象的内容。当我的基本代码运行时,我不断收到无效的 JSON 字符串;
function myFunction() {
var j = UrlFetchApp.fetch("https://api.trello.com/1/organizations/fogcreek?key=727f13bf79cfa362db49b79eb8c56c94");
Utilities.jsonParse(j);
}
所以...关于如何在谷歌电子表格中读取 JSON 对象的示例/帮助会很棒! 谢谢。
【问题讨论】:
标签: json twitter google-apps-script google-sheets trello