Click or drag to resize
Json.NET

JArrayWriteToAsync Method (JsonWriter, CancellationToken, JsonConverter)

 
Writes this token to a JsonWriter asynchronously.

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public override Task WriteToAsync(
	JsonWriter writer,
	CancellationToken cancellationToken,
	params JsonConverter[] converters
)

Parameters

writer
Type: Newtonsoft.JsonJsonWriter
A JsonWriter into which this method will write.
cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.
converters
Type: Newtonsoft.JsonJsonConverter
A collection of JsonConverter which will be used when writing the token.

Return Value

Type: Task
A Task that represents the asynchronous write operation.
See Also