Deserializing a Queue

May 30, 2008 at 5:15 PM
I've noticed that if I had a Queue of items, I can serialize it, however when I put the returned string back in to Deserialize back to my queue it doesn't work.  Is anyone aware of a work around for this?
Coordinator
Jun 8, 2008 at 9:49 AM
Stack and Queue don't implement IList or ICollection<T> so there is no Add method available when deserializing. You'll have to write a JsonConverter to do it manually.