json对象之间的转化

json字符串转化为

1.使用JSON.parse()函数

使用eval()函数

2.json对象转化为json字符串

使用JSON.stringify()

猜你喜欢

转载自www.cnblogs.com/zhouyideboke/p/8926182.html