Details
-
Improvement
-
Resolution: Unresolved
-
Unknown
-
None
-
None
Description
For example, deserializing
"\{ \"A\" : { \"_t\" : \"System.Collections.Generic.List`1[[InvalidType, InvalidAssembly]]\", \"_v\" : [{ \"Y\" : 1 }] }}"; |
to
public class MyClass |
{
|
public object A { get; set; } |
}
|
Throws "String cannot have zero length.", instead of more informative message.