public void Pair(string name, IJsonSerializable value) { if (null == value) { NullPair(name); return; } _writer.Write("{0}\"{1}\":".FormatWith(Punctuation, name)); Nesting.Peek().Previous = JsonNodeType.None; Object(); value.WriteJson(this); EndObject(); }
public void Pair(string name, IJsonSerializable value) { if (null == value) { NullPair(name); return; } _writer.Write("{0}\"{1}\":".FormatWith(Punctuation, name)); Nesting.Peek().Previous = JsonNodeType.None; Object(); value.WriteJson(this); EndObject(); }