jQuery.parseJSON('{"name":"John"}')将字符串表示转换为对象,但我希望反过来.对象将被转换为JSON字符串我得到了一个链接http://www.devcurry.com/2010/03/convert-javascript-object-to-json.html 但它需要有json2.js做jQuery有一个原生这样做的方法?
jQuery.parseJSON('{"name":"John"}')
jquery json
jquery ×1
json ×1