# HG changeset patch # User cin # Date 2014-12-21 10:52:08 # Node ID ffd3702968c7c701fa40dc8fc318d6399c5b258c # Parent 3fbc6eb93eb17d5e6f4d07ccfa6b5f71a8eb351b fixed JSON writer diff --git a/Implab/JSON/JSONWriter.cs b/Implab/JSON/JSONWriter.cs --- a/Implab/JSON/JSONWriter.cs +++ b/Implab/JSON/JSONWriter.cs @@ -197,8 +197,10 @@ namespace Implab.JSON { void Write(string value) { - if (value == null) + if (value == null) { m_writer.Write("null"); + return; + } var chars = value.ToCharArray(); m_writer.Write('"');