tags:

views:

29

answers:

2

I know jQuery.parseJSON will convert my json string to json object. Which does the vise versa in jquery (ie) json object to json string... Any suggestion

+2  A: 

Check out this site: http://www.json.org/js.html

Include their script and they have a Stringify method which does what you're looking for.

Fermin
@fermin any useful function in jquery?
Pandiya Chendur
You would need to use a plugin to get it.
Fermin
+1  A: 

If you're looking for a jQuery solution, get this plugin: http://code.google.com/p/jquery-json/

Lekensteyn