我有下一个字符串:
{"hexId":"123","version":5,""userAgent":"Mozilla/5.02.1.0 (Linux; U; Android 7.0; SM-G935S Build/NRD90M)|||sDid::ba83f40b-22e0-3992-a4d4-15b5d554790c|sAgkey::""|sAppkey::""|null|null|svcode::1221|sgIdKey::1631f8d9-3c1c-4020-a322-53f266ec9547","referer":"http://www.google.com.ar"}
当我尝试解析为JSON(JSON.parse)时,我收到错误,因为:
sAgkey::""|sAppkey::""
那么,如何在单引号的其他双引号内替换双引号呢?
谢谢!