I know jQuery automatically turns JSON into string when sending AJAX POST requests. Is it possible to convert JSON to string the same way without sending it via AJAX?
I know jQuery automatically turns JSON into string when sending AJAX POST requests. Is
Share
Use the JSON stringifier at JSON.org
http://www.json.org/js.html
BTW I don’t think jQuery is converting JSON to a string. I think the conversion of the JSON to a POST message is done internally by the browser as part of the XmlHttpRequest…. but could be wrong… haven’t really looked at the code in jQuery for few versions.