C#C
C#3y ago
Nyfos

✅ What is DataContractSerializer capable of serializing?

Hi! cat_hi

I'm currently using DataContractSerializer.WriteObject(...) and DataContractSerializer.ReadObject(...) to save and load my game data.

I was wondering if there was a list of all serializable types somewhere. It would be perfect if I was able to serialize things like Dictionaries, Vector2/Vector3, instead of converting them to multiple arrays...

Thank you for your help!
Was this page helpful?