更新时间:2022-01-24 22:23:28
Apps脚本(非常)只是Javascript;古老的 JSON .parse
是将JSON解析为对象表示的***选择。
Apps script is (pretty much) just Javascript; plain-old JSON.parse
is your best option for parsing JSON into an object representation.
您也可以使用 JSON.stringify
将对象序列化为字符串表示形式。
You can also use JSON.stringify
to serialize an object into a string representation.