JsonTextWriter Class (original) (raw)
Name
Description
(Overrides JsonWriterClose.)
Asynchronously closes this writer. If CloseOutput is set to true, the destination is also closed.
(Overrides JsonWriterCloseAsync(CancellationToken).)
Releases unmanaged and - optionally - managed resources.
(Inherited from JsonWriter.)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Flushes whatever is in the buffer to the underlying TextWriter and also flushes the underlying TextWriter.
(Overrides JsonWriterFlush.)
Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
(Overrides JsonWriterFlushAsync(CancellationToken).)
Serves as the default hash function.
(Inherited from Object.)
Gets the Type of the current instance.
(Inherited from Object.)
Creates a shallow copy of the current Object.
(Inherited from Object.)
(Inherited from JsonWriter.)
Asynchronously ets the state of the JsonWriter.
(Inherited from JsonWriter.)
Returns a string that represents the current object.
(Inherited from Object.)
Writes a comment /*...*/ containing the specified text.
(Overrides JsonWriterWriteComment(String).)
Asynchronously writes a comment /*...*/ containing the specified text.
(Overrides JsonWriterWriteCommentAsync(String, CancellationToken).)
Writes the end of the current JSON object or array.
(Inherited from JsonWriter.)
Writes the specified end token.
(Overrides JsonWriterWriteEnd(JsonToken).)
Writes the end of an array.
(Inherited from JsonWriter.)
Asynchronously writes the end of an array.
(Overrides JsonWriterWriteEndArrayAsync(CancellationToken).)
WriteEndAsync(CancellationToken)
Asynchronously writes the end of the current JSON object or array.
(Overrides JsonWriterWriteEndAsync(CancellationToken).)
WriteEndAsync(JsonToken, CancellationToken)
Asynchronously writes the specified end token.
(Overrides JsonWriterWriteEndAsync(JsonToken, CancellationToken).)
Writes the end constructor.
(Inherited from JsonWriter.)
Asynchronously writes the end of a constructor.
(Overrides JsonWriterWriteEndConstructorAsync(CancellationToken).)
Writes the end of a JSON object.
(Inherited from JsonWriter.)
Asynchronously writes the end of a JSON object.
(Overrides JsonWriterWriteEndObjectAsync(CancellationToken).)
Writes indent characters.
(Overrides JsonWriterWriteIndent.)
Asynchronously writes indent characters.
(Overrides JsonWriterWriteIndentAsync(CancellationToken).)
Writes an indent space.
(Overrides JsonWriterWriteIndentSpace.)
Asynchronously writes an indent space.
(Overrides JsonWriterWriteIndentSpaceAsync(CancellationToken).)
Writes a null value.
(Overrides JsonWriterWriteNull.)
Asynchronously writes a null value.
(Overrides JsonWriterWriteNullAsync(CancellationToken).)
Writes the property name of a name/value pair on a JSON object.
(Overrides JsonWriterWritePropertyName(String).)
WritePropertyName(String, Boolean)
Writes the property name of a name/value pair on a JSON object.
(Overrides JsonWriterWritePropertyName(String, Boolean).)
WritePropertyNameAsync(String, CancellationToken)
Asynchronously writes the property name of a name/value pair of a JSON object.
(Overrides JsonWriterWritePropertyNameAsync(String, CancellationToken).)
WritePropertyNameAsync(String, Boolean, CancellationToken)
Asynchronously writes the property name of a name/value pair of a JSON object.
(Overrides JsonWriterWritePropertyNameAsync(String, Boolean, CancellationToken).)
Writes raw JSON.
(Overrides JsonWriterWriteRaw(String).)
Asynchronously writes raw JSON without changing the writer's state.
(Overrides JsonWriterWriteRawAsync(String, CancellationToken).)
Writes raw JSON where a value is expected and updates the writer's state.
(Inherited from JsonWriter.)
Asynchronously writes raw JSON where a value is expected and updates the writer's state.
(Overrides JsonWriterWriteRawValueAsync(String, CancellationToken).)
Writes the beginning of a JSON array.
(Overrides JsonWriterWriteStartArray.)
Asynchronously writes the beginning of a JSON array.
(Overrides JsonWriterWriteStartArrayAsync(CancellationToken).)
Writes the start of a constructor with the given name.
(Overrides JsonWriterWriteStartConstructor(String).)
Asynchronously writes the start of a constructor with the given name.
(Overrides JsonWriterWriteStartConstructorAsync(String, CancellationToken).)
Writes the beginning of a JSON object.
(Overrides JsonWriterWriteStartObject.)
Asynchronously writes the beginning of a JSON object.
(Overrides JsonWriterWriteStartObjectAsync(CancellationToken).)
Writes the current JsonReader token and its children.
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
WriteToken(JsonReader, Boolean)
(Inherited from JsonWriter.)
Writes the JsonToken token and its value.
(Inherited from JsonWriter.)
WriteTokenAsync(JsonReader, CancellationToken)
Asynchronously writes the current JsonReader token.
(Inherited from JsonWriter.)
WriteTokenAsync(JsonToken, CancellationToken)
Asynchronously writes the JsonToken token and its value.
(Inherited from JsonWriter.)
WriteTokenAsync(JsonReader, Boolean, CancellationToken)
Asynchronously writes the current JsonReader token.
(Inherited from JsonWriter.)
WriteTokenAsync(JsonToken, Object, CancellationToken)
Asynchronously writes the JsonToken token and its value.
(Inherited from JsonWriter.)
Writes an undefined value.
(Overrides JsonWriterWriteUndefined.)
Asynchronously writes an undefined value.
(Overrides JsonWriterWriteUndefinedAsync(CancellationToken).)
(Overrides JsonWriterWriteValue(Boolean).)
Writes a Byte value.
(Overrides JsonWriterWriteValue(Byte).)
Writes a Byte[] value.
(Overrides JsonWriterWriteValue(Byte).)
Writes a Char value.
(Overrides JsonWriterWriteValue(Char).)
(Overrides JsonWriterWriteValue(DateTime).)
(Overrides JsonWriterWriteValue(DateTimeOffset).)
(Overrides JsonWriterWriteValue(Decimal).)
(Overrides JsonWriterWriteValue(Double).)
Writes a Guid value.
(Overrides JsonWriterWriteValue(Guid).)
Writes a Int16 value.
(Overrides JsonWriterWriteValue(Int16).)
Writes a Int32 value.
(Overrides JsonWriterWriteValue(Int32).)
Writes a Int64 value.
(Overrides JsonWriterWriteValue(Int64).)
(Overrides JsonWriterWriteValue(NullableDouble).)
(Overrides JsonWriterWriteValue(NullableSingle).)
Writes a Object value. An error will raised if the value cannot be written as a single JSON token.
(Overrides JsonWriterWriteValue(Object).)
Writes a SByte value.
(Overrides JsonWriterWriteValue(SByte).)
(Overrides JsonWriterWriteValue(Single).)
(Overrides JsonWriterWriteValue(String).)
(Overrides JsonWriterWriteValue(TimeSpan).)
(Overrides JsonWriterWriteValue(UInt16).)
(Overrides JsonWriterWriteValue(UInt32).)
(Overrides JsonWriterWriteValue(UInt64).)
Writes a Uri value.
(Overrides JsonWriterWriteValue(Uri).)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
WriteValue(NullableDateTimeOffset)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
(Inherited from JsonWriter.)
WriteValueAsync(Boolean, CancellationToken)
(Overrides JsonWriterWriteValueAsync(Boolean, CancellationToken).)
WriteValueAsync(Byte, CancellationToken)
Asynchronously writes a Byte value.
(Overrides JsonWriterWriteValueAsync(Byte, CancellationToken).)
WriteValueAsync(Byte, CancellationToken)
Asynchronously writes a Byte[] value.
(Overrides JsonWriterWriteValueAsync(Byte, CancellationToken).)
WriteValueAsync(Char, CancellationToken)
Asynchronously writes a Char value.
(Overrides JsonWriterWriteValueAsync(Char, CancellationToken).)
WriteValueAsync(DateTime, CancellationToken)
Asynchronously writes a DateTime value.
(Overrides JsonWriterWriteValueAsync(DateTime, CancellationToken).)
WriteValueAsync(DateTimeOffset, CancellationToken)
(Overrides JsonWriterWriteValueAsync(DateTimeOffset, CancellationToken).)
WriteValueAsync(Decimal, CancellationToken)
Asynchronously writes a Decimal value.
(Overrides JsonWriterWriteValueAsync(Decimal, CancellationToken).)
WriteValueAsync(Double, CancellationToken)
Asynchronously writes a Double value.
(Overrides JsonWriterWriteValueAsync(Double, CancellationToken).)
WriteValueAsync(Guid, CancellationToken)
Asynchronously writes a Guid value.
(Overrides JsonWriterWriteValueAsync(Guid, CancellationToken).)
WriteValueAsync(Int16, CancellationToken)
Asynchronously writes a Int16 value.
(Overrides JsonWriterWriteValueAsync(Int16, CancellationToken).)
WriteValueAsync(Int32, CancellationToken)
Asynchronously writes a Int32 value.
(Overrides JsonWriterWriteValueAsync(Int32, CancellationToken).)
WriteValueAsync(Int64, CancellationToken)
Asynchronously writes a Int64 value.
(Overrides JsonWriterWriteValueAsync(Int64, CancellationToken).)
WriteValueAsync(NullableBoolean, CancellationToken)
Asynchronously writes a Boolean value.
(Overrides JsonWriterWriteValueAsync(NullableBoolean, CancellationToken).)
WriteValueAsync(NullableByte, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableByte, CancellationToken).)
WriteValueAsync(NullableChar, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableChar, CancellationToken).)
WriteValueAsync(NullableDateTime, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableDateTime, CancellationToken).)
WriteValueAsync(NullableDateTimeOffset, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableDateTimeOffset, CancellationToken).)
WriteValueAsync(NullableDecimal, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableDecimal, CancellationToken).)
WriteValueAsync(NullableDouble, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableDouble, CancellationToken).)
WriteValueAsync(NullableGuid, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableGuid, CancellationToken).)
WriteValueAsync(NullableInt16, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableInt16, CancellationToken).)
WriteValueAsync(NullableInt32, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableInt32, CancellationToken).)
WriteValueAsync(NullableInt64, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableInt64, CancellationToken).)
WriteValueAsync(NullableSByte, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableSByte, CancellationToken).)
WriteValueAsync(NullableSingle, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableSingle, CancellationToken).)
WriteValueAsync(NullableTimeSpan, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableTimeSpan, CancellationToken).)
WriteValueAsync(NullableUInt16, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableUInt16, CancellationToken).)
WriteValueAsync(NullableUInt32, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableUInt32, CancellationToken).)
WriteValueAsync(NullableUInt64, CancellationToken)
(Overrides JsonWriterWriteValueAsync(NullableUInt64, CancellationToken).)
WriteValueAsync(Object, CancellationToken)
Asynchronously writes a Object value.
(Overrides JsonWriterWriteValueAsync(Object, CancellationToken).)
WriteValueAsync(SByte, CancellationToken)
Asynchronously writes a SByte value.
(Overrides JsonWriterWriteValueAsync(SByte, CancellationToken).)
WriteValueAsync(Single, CancellationToken)
Asynchronously writes a Single value.
(Overrides JsonWriterWriteValueAsync(Single, CancellationToken).)
WriteValueAsync(String, CancellationToken)
Asynchronously writes a String value.
(Overrides JsonWriterWriteValueAsync(String, CancellationToken).)
WriteValueAsync(TimeSpan, CancellationToken)
Asynchronously writes a TimeSpan value.
(Overrides JsonWriterWriteValueAsync(TimeSpan, CancellationToken).)
WriteValueAsync(UInt16, CancellationToken)
Asynchronously writes a UInt16 value.
(Overrides JsonWriterWriteValueAsync(UInt16, CancellationToken).)
WriteValueAsync(UInt32, CancellationToken)
Asynchronously writes a UInt32 value.
(Overrides JsonWriterWriteValueAsync(UInt32, CancellationToken).)
WriteValueAsync(UInt64, CancellationToken)
Asynchronously writes a UInt64 value.
(Overrides JsonWriterWriteValueAsync(UInt64, CancellationToken).)
WriteValueAsync(Uri, CancellationToken)
Asynchronously writes a Uri value.
(Overrides JsonWriterWriteValueAsync(Uri, CancellationToken).)
Writes the JSON value delimiter.
(Overrides JsonWriterWriteValueDelimiter.)
Asynchronously writes the JSON value delimiter.
(Overrides JsonWriterWriteValueDelimiterAsync(CancellationToken).)
Writes the given white space.
(Overrides JsonWriterWriteWhitespace(String).)
Asynchronously writes the given white space.
(Overrides JsonWriterWriteWhitespaceAsync(String, CancellationToken).)