-Added Serializable attribute to exceptions

-Fixed deserializing null values into DataTables
-Fixed error when deserializing readonly IEnumerable<T> array properties
-Fixed not including type name for byte[] values
This commit is contained in:
JamesNK
2011-05-07 02:16:26 +00:00
parent 1197d35cbb
commit 6b2238c39c
14 changed files with 185 additions and 7 deletions
@@ -101,7 +101,7 @@ namespace Newtonsoft.Json.Converters
dt.Columns.Add(new DataColumn(columnName, columnType));
}
dr[columnName] = reader.Value;
dr[columnName] = reader.Value ?? DBNull.Value;
reader.Read();
}