javascript - JSON to string variable dump -


is there quick function convert json objects received via jquery getjson string variable dump (for tracing/debugging purposes)?

yes, json.stringify, can found here, it's included in firefox 3.5.4 , above.

a json stringifier goes in opposite direction, converting javascript data structures json text. json not support cyclic data structures, careful not give cyclical structures json stringifier. https://web.archive.org/web/20100611210643/http://www.json.org/js.html

var myjsontext = json.stringify(myobject, replacer); 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -