Jump to content
  • Advertisement
Sign in to follow this  
dechorus

Generic xml serializer class that can serialize dictionaries

This topic is 2513 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

Hello,

[/font]

[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

I've searched and searched the net for serializer classes that do as the topic describes, but have found none. Is anybody out there using a serializer class that can take care of everything for them? The best I got -- I have to specify an array of all other custom classes that the object I'm trying to serialize contains, and even then, it cannot serialize dictionaries, since they're not supported. Using this class also doesn't serialize private objects, for obvious reasons, but I'd like to know if there is a way to serialize them using a helper class.

[/font]

[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

How do you handle your XML Serialization?

[/font]

[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

Is having a single class to take care of everything possible? If anybody can point to some classes I could download or code online, that would be great. Your personal solutions would also be appreciated.

[/font]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!