facebook-csharp-sdk / simple-json

JSON library for .NET 2.0+/SL4+/WP7/WindowsStore with optional support for dynamic and DataContract
MIT License
380 stars 143 forks source link

Serialize inherited list from root JSON array #36

Closed haacked closed 10 years ago

haacked commented 11 years ago

This test actually comes from a scenario in RestSharp.

Given a root JSON array that matches a generic list, we should be able to deserialize that to a type that derives from that generic list.

I added some unit tests that illustrate the issue.

prabirshrestha commented 11 years ago

I merged the other PR. Can you do a rebase.

Thanks.

haacked commented 11 years ago

Yep, done!

prabirshrestha commented 10 years ago

version 0.27.0-beta is up https://www.nuget.org/packages/SimpleJson/0.27.0-beta

will drop the beta after few days.

haacked commented 10 years ago

Thanks!