![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JSON
Winson℡
The important thing in life is to have a great aim,and
determination to attain it.
展开
-
前端模拟API请求返回的数据结构
在浏览器中编辑数据(对象)结构如: { name: '天平新分', NEW_BALANCE:[] }原创 2020-07-23 17:42:39 · 484 阅读 · 0 评论 -
JSON.parse()出现意外标记
json类型判断:isObject(val) { try { if (typeof val == 'string') { return JSON.parse(val) // } else if (typeof val == 'object') { // return val } else { return val; } } cat原创 2020-10-28 20:13:35 · 523 阅读 · 0 评论