/// <summary> /// Causes the end of the array character to be written. /// </summary> private void EndArray() { if (_writer != null) { _writer._counter.RemoveAt(_writer._counter.Count - 1); _writer.WriteLine("]"); _writer.Flush(); } _writer = null; }
/// <summary> /// Causes the end of the array character to be written. /// </summary> private void EndArray() { if (_writer != null) { _writer._counter.RemoveAt(_writer._counter.Count - 1); _writer.WriteLine("]"); _writer.Flush(); } _writer = null; }
internal JsonArray(JsonFormatWriter writer) { _writer = writer; _writer.WriteToOutput("["); _writer._counter.Add(0); }
internal JsonArray(JsonFormatWriter writer) { _writer = writer; _writer.WriteToOutput("["); _writer._counter.Add(0); }