Mercurial > pub > ImplabNet
diff Implab/JSON/JSONWriter.cs @ 115:ffd3702968c7 v2
fixed JSON writer
author | cin |
---|---|
date | Sun, 21 Dec 2014 13:52:08 +0300 |
parents | d67b95eddaf4 |
children | e046a94eecb1 |
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('"');