Follow me on Twitter at
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:
JSON - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.


Visual Studio Magazine Column Personal Blog


Book Authors




Georgia Tech Bloggers




If you want to safely parse and transmit JSON, you need to use a JSON parser to transfer a text into a Javascript object.  To go the other way from a Javascript object to a JSON string you will need to use a JSON stringifier.  Be careful on using cyclic data structures, JSON stringifiers don't like them.
Posted: Nov 22 2005, 02:23 PM by Wallym | with 2 comment(s)
Filed under:


walkingby said:

In Mozilla bowsers you use myobject.toSource() to get the javascript serialization of the object

var person = {name:'me',age:10};
var myjson = person.toSource();
# November 22, 2005 3:37 PM

Scott Cate - Knowledge Base Software said:

Wally, what JSON stringifiers are you using?
# November 22, 2005 6:25 PM