-Fixed regression serializing decimal value

This commit is contained in:
James Newton-King
2018-01-03 10:22:19 +13:00
parent ed52a0eb0f
commit e57cb6acea
2 changed files with 61 additions and 1 deletions
+2 -1
View File
@@ -1608,7 +1608,8 @@ namespace Newtonsoft.Json
case PrimitiveTypeCode.DecimalNullable:
writer.WriteValue((value == null) ? (decimal?)null : (decimal)value);
break;
return;
case PrimitiveTypeCode.Guid:
writer.WriteValue((Guid)value);
return;