如上图,短网址js如何调用红线标注部分,只调用红线标注部分js 如何写
var obj = JSON.parse(str) ; //str你示例的json字符串var shorturl = obj.shorturl; //你想要的值
再加上 .shorturl