interview-answe
interview-answe copied to clipboard
195.对象和文本间的转换
[js]
parse(): 以文本字符串形式接受JSON对象作为参数,并返回相应的对象。。 stringify(): 接收一个对象作为参数,返回一个对应的JSON字符串。