JSON serialization in jQuery

Possible duplicate:
JSON serialization in jQuery

I know how to serialize an object in JSON in ASP.NET Ajax, but I'm trying to do something on the client in a less specific way for Microsoft. I am using jQuery. Is there a “standard” way to do this?

+3
source share
1 answer

jQuery does not allow doing this out of the box. The best way to achieve this is to use the JSON.stringify method in json2.js found here: http://www.json.org/js.html

This complies with the ECMAScript 5 standard and will use its own methods, if available.

+1
source

Source: https://habr.com/ru/post/1783067/


All Articles