Firstly I am very new to using JSON and think its fantastic now I can pass objects from servercode to browser and back.
I am using the AJAX.Net Pro to output an arraylist of objects to a hidden text field. 1. eval() on the client works perfectly and gives me the array of objects. BUT using JSON.Orgs parseJSON() method which is presumably safer doesnt work. 2. If I use the JSON.Org stringifier to update the JavaScript array back in the hidden field then the dates all seem to disappear in the resulting string. This causes the AJAX.Net pro JSON deserializer to fall over on the serverside. Why does the JSOn.Org stringifier not handle the dates - is it because of the way Ajax.Net serializes dates or is it not Ajax.nets fault at all. WOuld be nice if they worked together. Anyway not a disaster I will just pass dates in some other format e.g my own custom date object with simple propertys - Chris Brooksbank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/ Don't forget to read my blog at http://weblogs.asp.net/mschwarz/ -~----------~----~----~----~------~----~------~--~---
