[This is preliminary documentation and is subject to change.]

The JsonTextWriter type exposes the following members.

Constructors

  NameDescription
JsonTextWriter
Creates an instance of the JsonWriter class using the specified TextWriter.

Methods

  NameDescription
Close
Closes this stream and the underlying stream.
(Overrides JsonWriter..::.Close()()().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Flush
Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
(Overrides JsonWriter..::.Flush()()().)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WriteComment
Writes out a comment
CopyC#
/*...*/
containing the specified text.
(Overrides JsonWriter..::.WriteComment(String).)
WriteEndOverloaded.
WriteEndArray
Writes the end of an array.
(Inherited from JsonWriter.)
WriteEndConstructor
Writes the end constructor.
(Inherited from JsonWriter.)
WriteEndObject
Writes the end of a Json object.
(Inherited from JsonWriter.)
WriteIndent
Writes indent characters.
(Overrides JsonWriter..::.WriteIndent()()().)
WriteIndentSpace
Writes an indent space.
(Overrides JsonWriter..::.WriteIndentSpace()()().)
WriteNull
Writes a null value.
(Overrides JsonWriter..::.WriteNull()()().)
WritePropertyName
Writes the property name of a name/value pair on a Json object.
(Overrides JsonWriter..::.WritePropertyName(String).)
WriteRaw
Writes raw JSON.
(Overrides JsonWriter..::.WriteRaw(String).)
WriteRawValue
Writes raw JSON where a value is expected and updates the writer's state.
(Inherited from JsonWriter.)
WriteStartArray
Writes the beginning of a Json array.
(Overrides JsonWriter..::.WriteStartArray()()().)
WriteStartConstructor
Writes the start of a constructor with the given name.
(Overrides JsonWriter..::.WriteStartConstructor(String).)
WriteStartObject
Writes the beginning of a Json object.
(Overrides JsonWriter..::.WriteStartObject()()().)
WriteToken
Writes the current JsonReader token.
(Inherited from JsonWriter.)
WriteUndefined
Writes an undefined value.
(Overrides JsonWriter..::.WriteUndefined()()().)
WriteValueOverloaded.
WriteValueDelimiter
Writes the JSON value delimiter.
(Overrides JsonWriter..::.WriteValueDelimiter()()().)
WriteWhitespace
Writes out the given white space.
(Overrides JsonWriter..::.WriteWhitespace(String).)

Properties

  NameDescription
Formatting
Indicates how the output is formatted.
(Inherited from JsonWriter.)
Indentation
Gets or sets how many IndentChars to write for each level in the hierarchy when Formatting is set to Formatting.Indented.
IndentChar
Gets or sets which character to use for indenting when Formatting is set to Formatting.Indented.
QuoteChar
Gets or sets which character to use to quote attribute values.
QuoteName
Gets or sets a value indicating whether object names will be surrounded with quotes.
SerializeStack (Inherited from JsonWriter.)
Top
Gets the top.
(Inherited from JsonWriter.)
WriteState
Gets the state of the writer.
(Inherited from JsonWriter.)

Explicit Interface Implementations

  NameDescription
IDisposable..::.Dispose (Inherited from JsonWriter.)

See Also

JsonTextWriter Class
Facebook.Json Namespace