Mercurial > pub > ImplabNet
changeset 115:ffd3702968c7 v2
fixed JSON writer
author | cin |
---|---|
date | Sun, 21 Dec 2014 13:52:08 +0300 |
parents | 3fbc6eb93eb1 |
children | da56ba7b1aab |
files | Implab/JSON/JSONWriter.cs |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Implab/JSON/JSONWriter.cs Sun Dec 14 22:39:13 2014 +0100 +++ b/Implab/JSON/JSONWriter.cs Sun Dec 21 13:52:08 2014 +0300 @@ -197,8 +197,10 @@ void Write(string value) { - if (value == null) + if (value == null) { m_writer.Write("null"); + return; + } var chars = value.ToCharArray(); m_writer.Write('"');