Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SerializeAsync< TValue >() [2/2]

static Task System.Text.Json.JsonSerializer.SerializeAsync< TValue > ( Stream utf8Json,
TValue value,
JsonTypeInfo< TValue > jsonTypeInfo,
CancellationToken cancellationToken = default(CancellationToken) )
inlinestatic

Definition at line 1694 of file JsonSerializer.cs.

1695 {
1696 if (utf8Json == null)
1697 {
1698 throw new ArgumentNullException("utf8Json");
1699 }
1700 if (jsonTypeInfo == null)
1701 {
1702 throw new ArgumentNullException("jsonTypeInfo");
1703 }
1705 }

References System.cancellationToken, System.Text.Json.Dictionary, and System.value.