Constructor JsonWriter
JsonWriter(TextWriter)
Initializes a new instance of the JsonWriter class.
public JsonWriter(TextWriter writer)
Parameters
writer
TextWriterA TextWriter.
JsonWriter(TextWriter, JsonWriterSettings)
Initializes a new instance of the JsonWriter class.
public JsonWriter(TextWriter writer, JsonWriterSettings settings)
Parameters
writer
TextWriterA TextWriter.
settings
JsonWriterSettingsOptional JsonWriter settings.