Converting circular structure to JSON

cause JSON.stringify(obj, ?replacer, ?space) 中的obj如果是一个循环结构就会报下列错误: Converting circular structure to JSON。 resolve 用replacer对需要序列化的成员中的“循环引用”进行过滤。
相关文章
相关标签/搜索