I have a custom Javascript object that has a few string and float members. I’d like to serialize an array of them in Javascript, assign the result to a hidden field, and then retrieve and deserialize them in the codebehind for my asp.net application.
Is there a standard way to do this?
what you need is
JSON.both javascript and C# can handle it.
article: http://www.nateirwin.net/2008/11/20/json-array-to-c-using-jsonnet/
also: http://www.json.org/ (scroll to the end)