Click or drag to resize
Json.NET

JTokenWriteToAsync Method (JsonWriter, 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 Task WriteToAsync(
	JsonWriter writer,
	params JsonConverter[] converters
)

Parameters

writer
Type: Newtonsoft.JsonJsonWriter
A JsonWriter into which this method will write.
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