Visual Basic .NET » ASP.NET General Discussion
AjaxPro.JavaScriptSerializer.Serialize -- Jon Ceanfaglione --

Does this support serializing an IList interface? Or, does the list have to be Typed using generics?

-- Michael Schwarz --


Hi,

you can serialize any IList object, but deserialization is only working if the __type property is used for internal objects to know which data type to use because it is "object" by default.

See
http://munich.schwarz-interactive.de/datatype.aspx 
).

Regards,
Michael

On 7/7/06, Jon Ceanfaglione wrote:
Does this support serializing an IList interface? Or, does the list have to
be Typed using generics?

>



--  

Best regards | Schöne Grüße Michael

Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz 
/
http://www.schwarz-interactive.de 
/
mailto:info
[Submit Comment]Home