public void WriteJsonWrapper(IJsonWrapper wrapper, bool privateWriter) { if (privateWriter) { //this.TextWriter.Write(wrapper.ToJson()); this.WriteRaw(wrapper.ToJson()); } else { // ((IJsonWrapper)obj).ToJson(writer); wrapper.ToJson(this); } context.ExpectingValue = false; }
public void WriteJsonWrapper(IJsonWrapper wrapper, bool privateWriter) { if (privateWriter) { this.TextWriter.Write(wrapper.ToJson()); } else { // ((IJsonWrapper)obj).ToJson(writer); wrapper.ToJson(this); } context.ExpectingValue = false; }