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

◆ DeserializeAsync() [1/2]

static ValueTask< object?> System.Text.Json.JsonSerializer.DeserializeAsync ( Stream utf8Json,
Type returnType,
JsonSerializerContext context,
CancellationToken cancellationToken = default(CancellationToken) )
inlinestatic

Definition at line 905 of file JsonSerializer.cs.

906 {
907 if (utf8Json == null)
908 {
909 throw new ArgumentNullException("utf8Json");
910 }
911 if (returnType == null)
912 {
913 throw new ArgumentNullException("returnType");
914 }
915 if (context == null)
916 {
917 throw new ArgumentNullException("context");
918 }
920 }
static JsonTypeInfo GetTypeInfo(JsonSerializerOptions options, Type runtimeType)

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