This project has moved and is read-only. For the latest updates, please go here.


Exception thrown when deserializing List<Stack<string>> with TypeNameHandling.All


Attached is a small code example. This was testing with .NET 4.0, VS 2010, JSON.NET 5.0.8 straight off NuGet.

Using a List<List<string>> works fine.
Not including type information works fine (using TypeNameHanding.Auto)

file attachments

Closed Dec 15, 2013 at 2:40 AM by JamesNK
I think it is a bug in .NET when the full assembly name isn't included. Add TypeNameAssemblyFormat = FormatterAssemblyStyle.Full