@@ -197,8 +197,10 namespace Implab.JSON { | |||||
197 |
|
197 | |||
198 |
|
198 | |||
199 | void Write(string value) { |
|
199 | void Write(string value) { | |
200 | if (value == null) |
|
200 | if (value == null) { | |
201 | m_writer.Write("null"); |
|
201 | m_writer.Write("null"); | |
|
202 | return; | |||
|
203 | } | |||
202 |
|
204 | |||
203 | var chars = value.ToCharArray(); |
|
205 | var chars = value.ToCharArray(); | |
204 | m_writer.Write('"'); |
|
206 | m_writer.Write('"'); |
General Comments 0
You need to be logged in to leave comments.
Login now