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

◆ SerializeAsync() [1/2]

static Task System.Text.Json.JsonSerializer.SerializeAsync ( Stream utf8Json,
object? value,
Type inputType,
JsonSerializerContext context,
CancellationToken cancellationToken = default(CancellationToken) )
inlinestatic

Definition at line 1720 of file JsonSerializer.cs.

1721 {
1722 if (utf8Json == null)
1723 {
1724 throw new ArgumentNullException("utf8Json");
1725 }
1726 if (context == null)
1727 {
1728 throw new ArgumentNullException("context");
1729 }
1732 }
static Type GetRuntimeTypeAndValidateInputType(object value, Type inputType)
static JsonTypeInfo GetTypeInfo(JsonSerializerOptions options, Type runtimeType)

References System.cancellationToken, System.Text.Json.Dictionary, System.Text.Json.JsonSerializer.GetRuntimeTypeAndValidateInputType(), System.Text.Json.JsonSerializer.GetTypeInfo(), and System.value.