JsonSerializer will serialize null rather than throwing an exception.
This commit is contained in:
JamesNK
2008-02-28 09:53:20 +00:00
parent 3109027c75
commit 3c88523556
2 changed files with 14 additions and 3 deletions
-3
View File
@@ -531,9 +531,6 @@ namespace Newtonsoft.Json
if (jsonWriter == null)
throw new ArgumentNullException("jsonWriter");
if (value == null)
throw new ArgumentNullException("value");
SerializeValue(jsonWriter, value);
}