projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bring back 2.10 based System.Json and move aspnet stack version to System.Json.Microsoft
[mono.git]
/
mcs
/
class
/
System.Json
/
System.Json
/
JsonValue.cs
diff --git
a/mcs/class/System.Json/System.Json/JsonValue.cs
b/mcs/class/System.Json/System.Json/JsonValue.cs
index 4c6dc5eca7eb9bef29b186d0fb17ea5012777e8b..1d16b88e3f40407f1994efc04735c38bc269fada 100644
(file)
--- a/
mcs/class/System.Json/System.Json/JsonValue.cs
+++ b/
mcs/class/System.Json/System.Json/JsonValue.cs
@@
-162,7
+162,10
@@
namespace System.Json
foreach (JsonValue v in ((JsonArray) this)) {
if (following)
w.Write (", ");
- v.SaveInternal (w);
+ if (v != null)
+ v.SaveInternal (w);
+ else
+ w.Write ("null");
following = true;
}
w.Write (']');