({"ResultCode":"0","ResultMessage":"调用成功","Data":{"MissionInfoID":5,"GameID":9,"S1":"","S2":"","S3":"","S4":"","S5":"","S7":"","S6":"","S8":"","S9":"","S10":"","S11":"","S12":"","S13":"","S14":"","S15":"","S16":"","S17":"","S18":"","S19":"","S20":"","IsRelease":1,"DeveloperUserID":127,"UserID":11,"CreateDate":"2020-03-06 11:17:32"}})
function main()
a='{"ResultCode":"0","ResultMessage":"调用成功","Data":{"MissionInfoID":5,"GameID":9,"S1":"","S2":"","S3":"","S4":"","S5":"","S7":"","S6":"","S8":"","S9":"","S10":"","S11":"","S12":"","S13":"","S14":"","S15":"","S16":"","S17":"","S18":"","S19":"","S20":"","IsRelease":1,"DeveloperUserID":127,"UserID":11,"CreateDate":"2020-03-06 11:17:32"}}'
a = jsonDecode(a)
notifyMessage(a.ResultCode);
end
先感谢下大佬,但是从后台返回来的值就是有个括号,有括号在应该怎么去掉,这才是我想问的,如果给的值是a的哪种格式的话我能换的过来
自己已经解决