更新时间:2022-05-05 23:03:01
编辑了答案.现在,它适用于上述有问题的对象
您可以使用以下功能访问JSON的键.我已经专门返回了"mm"键.
You can use following function to access the keys of JSON. I have returned 'mm' key specifically.
function jsonParser(stringValue) {
var string = JSON.stringify(stringValue);
var objectValue = JSON.parse(string);
return objectValue['mm'];
}