技术文章 - CS263581
JS 函数 JSON stringify 在 Arbortext Advanced Print Publisher 中似乎不起作用
已修改: 22-Aug-2017
适用于
- PTC Arbortext Advanced Print Publisher 10.0
说明
- 以下内容不会将字符串值更改为 "g",因为它应如下所示:
变量 foo = {foundation: ' Mozilla ',model: ' box ',week:45,transport: ' car ',month: 7};
result = JSON。 stringify (foo,函数(key,value) {
if (typeof 值 = = = ' 字符串 ')返回 "g"
返回值
});
格式化。写入("xxx" + result)
result = JSON。 stringify (foo,函数(key,value) {
if (typeof 值 = = = ' 字符串 ')返回 "g"
返回值
});
格式化。写入("xxx" + result)
这是文章 263581 的 PDF 版本,可能已过期。最新版本 CS263581