想通过ajax将json中的数据提取出来

{"userType":"WEB","uSessionID":31121340,"logined":true,"name":"方便面","title":"UNM_000010161922","username":"UNM_000010161922"}

直接通过点就可以取出来

比如ajax成功后返回的是你上面写的返回值

var data = {"userType":"WEB","uSessionID":31121340,"logined":true,"name":"方便面","title":"UNM_000010161922","username":"UNM_000010161922"}
取出username则为data.username
温馨提示:答案为网友推荐,仅供参考
相似回答
大家正在搜