interview-answe icon indicating copy to clipboard operation
interview-answe copied to clipboard

195.对象和文本间的转换

Open webVueBlog opened this issue 4 years ago • 1 comments

[js]

webVueBlog avatar Apr 19 '20 16:04 webVueBlog

parse(): 以文本字符串形式接受JSON对象作为参数,并返回相应的对象。。 stringify(): 接收一个对象作为参数,返回一个对应的JSON字符串。

webVueBlog avatar Apr 19 '20 17:04 webVueBlog