In Node.js, how do I turn a string to a json?
This question already has an answer here:
You need to use this function.
JSON.parse(yourJsonString);
And it will return the object / array that was contained within the string.
使用JSON函数>
JSON.parse(theString)
上一篇: jquery如何反序列化json对象