-Changed version number to 4.0.6

This commit is contained in:
JamesNK
2012-01-23 06:55:47 +00:00
parent 0c873da0b2
commit 14a2cb2a8a
5 changed files with 156 additions and 114 deletions
@@ -5129,6 +5129,20 @@ keyword such as type of business.""
Assert.AreEqual(true, b2.no);
}
[Test]
public void DeserializeNullInt()
{
string json = @"[
1,
2,
3,
null
]";
List<int> numbers = JsonConvert.DeserializeObject<List<int>>(json);
// JsonSerializationException : Error converting value {null} to type 'System.Int32'. Line 5, position 7.
}
}
public class DecimalTestClass