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

◆ Deserialize() [5/16]

static ? object System.Text.Json.JsonSerializer.Deserialize ( ref Utf8JsonReader reader,
Type returnType,
JsonSerializerContext context )
inlinestatic

Definition at line 1282 of file JsonSerializer.cs.

1283 {
1284 if (returnType == null)
1285 {
1286 throw new ArgumentNullException("returnType");
1287 }
1288 if (context == null)
1289 {
1290 throw new ArgumentNullException("context");
1291 }
1292 return Read<object>(ref reader, GetTypeInfo(context, returnType));
1293 }
static JsonTypeInfo GetTypeInfo(JsonSerializerOptions options, Type runtimeType)

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