-Added JValue.CreateNull and JValue.CreateUndefined

This commit is contained in:
James Newton-King
2014-04-29 12:20:44 +12:00
parent 7458cefe95
commit bbcc7e4d54
14 changed files with 71 additions and 38 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ namespace Newtonsoft.Json.Linq
{
CheckReentrancy();
JToken newValue = value ?? new JValue((object)null);
JToken newValue = value ?? JValue.CreateNull();
if (_content.Count == 0)
{