Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
JToken Class
JToken Methods
WriteToAsync Method
WriteToAsync Method (JsonWriter, JsonConverter[])
WriteToAsync Method (JsonWriter, CancellationToken, JsonConverter[])
JToken
WriteToAsync 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#
Copy
public
Task
WriteToAsync
(
JsonWriter
writer
,
params
JsonConverter
[]
converters
)
Parameters
writer
Type:
Newtonsoft.Json
JsonWriter
A
JsonWriter
into which this method will write.
converters
Type:
Newtonsoft.Json
JsonConverter
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
Reference
JToken Class
WriteToAsync Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home