serialization

  1. corwinus

    C# Problem with serialize data to many json files

    I have many json files with the same type data Examples: { "$id": "1", "strings": [ { "Key": "some unique key1", "Value": ”some value1” }, { "Key": "some unique key2", "Value": ”some value2” }, ] } { "$id": "1", "strings": [ { "Key": "some unique key3", "Value": ”some...
  2. M

    XML serialisaton. Error: XmlException: Root element is missing.

    Hi all. I am making a game like minecraft. I need to keep the world when the player exits the game. Chunk (it is a place 16 by 16 blocks) and world contain a lot datas, that don't serialize can. so i have created classes WorldData and ChunkData, that contain only serializable varibles. But i...
  3. RickGove

    Resolved How to save a custom ObservableDictionary to a file, and restore it later?

    I'm not sure if I'm using any of the right language, and I'm a beginner... I have created an ObservableDictionary like so: [Serializable] public class ObservableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, INotifyCollectionChanged { public ObservableDictionary() ...
  4. S

    Question Can not deserialize a file

    Hey everyone, in my project I deserialize an xml file in order to load the info to the class and it all went good ..before I added Farseer Physics. Now it just won't load and says "An exception of type 'System.InvalidOperationException' occurred in System.Xml.dll but was not handled in user...
Back
Top Bottom