Convert back string from JSON.stringify to array
This question already has an answer here:
JSON.parse is your friend and answer :)
//examples:
JSON.parse('{}'); // {}
JSON.parse('true'); // true
JSON.parse('"foo"'); // "foo"
JSON.parse('[1, 5, "false"]'); // [1, 5, "false"]
JSON.parse('null'); // null
MDN JSON.Parse details
链接地址: http://www.djcxy.com/p/8490.html