p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Ajax with ASP.NET (http://p2p.wrox.com/forumdisplay.php?f=278)
-   -   C# object to/from JSON possible?!? (http://p2p.wrox.com/showthread.php?t=52821)

quantass January 17th, 2007 10:55 AM

C# object to/from JSON possible?!?
Is there a C# library that enables me to convert my C# object to/from JSON? My class object will contain intrinsic types, XmlDocument, and ArrayList (which will hold instances of other classes - no relation to this class).

Ajax.NET Pro is the most promising but it appears to have a bug with XmlDocument objects. C#'s XmlSerializer (the preliminary step I would alternatively use to convert my object to JSON) has problems with the ArrayList containing other class objects.

I am looking for a fully working solution for a C# object (.NET framework v1.1) to/from JSON conversion.

Thanks for any pointers.

robertgtaylor1 January 21st, 2009 09:32 AM

Look in CodePlex
Take a look at http://www.codeplex.com/Json

All times are GMT -4. The time now is 09:40 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.