JsonWriter
Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
Gets or sets a value indicating whether the underlying stream or
TextReader should be closed when the writer is closed.
Get or set how dates are written to JSON text.
Get or set how DateTime time zones are handling when writing JSON text.
Indicates how JSON text output is formatted.
Gets the path of the writer.
Get or set how strings are escaped when writing JSON text.
Gets the state of the writer.
protected JsonWriter()
Creates an instance of the JsonWriter class.
Closes this stream and the underlying stream.
Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
Writes out a comment /*...*/ containing the specified text.
Writes the end of the current Json object or array.
Writes the specified end token.
Writes the end of an array.
Writes the end constructor.
Writes the end of a Json object.
Writes indent characters.
Writes an indent space.
Writes a null value.
Writes the property name of a name/value pair on a Json object.
Writes raw JSON without changing the writer's state.
Writes raw JSON where a value is expected and updates the writer's state.
Writes the beginning of a Json array.
Writes the start of a constructor with the given name.
Writes the beginning of a Json object.
Writes the current JsonReader token.
Writes an undefined value.
Writes a String value.
Writes a Int32 value.
Writes a UInt32 value.
Writes a Int64 value.
Writes a UInt64 value.
Writes a Single value.
Writes a Double value.
Writes a Boolean value.
Writes a Int16 value.
Writes a UInt16 value.
Writes a Char value.
Writes a Byte value.
Writes a SByte value.
Writes a Decimal value.
Writes a DateTime value.
Writes a DateTimeOffset value.
Writes a Guid value.
Writes a TimeSpan value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Nullable<T> value.
Writes a Byte[] value.
Writes a Uri value.
Writes a Object value.
An error will raised if the value cannot be written as a single JSON token.
Writes the JSON value delimiter.
Writes out the given white space.