If I defined an object in JS with:
(如果我用以下方法在JS中定义了一个对象:)
var j={"name":"binchen"};
How can I convert the object to JSON?
(如何将对象转换为JSON?)
The output string should be:(输出字符串应为:)
'{"name":"binchen"}'
ask by Bin Chen translate from so