dillenmeister/Trello.NET

Serialize Trello.net objects

Opened this issue · 3 comments

Hi,
Short questions; I’m trying to inherit and extend the Trello.net objects (card, list etc), and then I would like to make a binary serialization to disk. But I see that the objects are not marked as serializable. Is there any workaround to make this possible?
/Erik (also from Sweden)

Hej!

Most serializers don't care about the Serializable attribute. If you can use another serializer than BinaryFormatter it will work.

Why do you need binary serialization?

16 sep 2014 kl. 20:33 skrev eriklidman notifications@github.com:

Hi,
Short questions; I’m trying to inherit and extend the Trello.net objects (card, list etc), and then I would like to make a binary serialization to disk. But I see that the objects are not marked as serializable. Is there any workaround to make this possible?
/Erik (also from Sweden)


Reply to this email directly or view it on GitHub.

Ok, I will try that. I want to save a List to disk. And later open it up again. Like a local cache on disk (winform app).

Hej,
No, I cant get it to work. I have tested several serializers and I cannot serialize a List (Card) to disk. Do you have any suggestion which one to use?