-Fixed List<T> silly buggers with nullable types - http://tinyurl.com/yagsptj - That was tough!

This commit is contained in:
JamesNK
2009-10-03 07:54:47 +00:00
parent be8d951c03
commit a5b7507d17
5 changed files with 31 additions and 12 deletions
@@ -2227,5 +2227,16 @@ keyword such as type of business.""
list l = JsonConvert.DeserializeObject<list>(json);
}
[Test]
public void sdfsdf()
{
//List<decimal?> l = new List<decimal?>();
//l.Add(null);
//IList il = l;
//il.Add(null);
JsonConvert.DeserializeObject<List<decimal?>>("[ 3.3, null, 1.1 ] ");
}
}
}