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

◆ Deserialize() [15/16]

static ? object System.Text.Json.JsonSerializer.Deserialize ( this JsonNode? node,
Type returnType,
JsonSerializerContext context )
inlinestatic

Definition at line 166 of file JsonSerializer.cs.

167 {
168 if (returnType == null)
169 {
170 throw new ArgumentNullException("returnType");
171 }
172 if (context == null)
173 {
174 throw new ArgumentNullException("context");
175 }
176 JsonTypeInfo typeInfo = GetTypeInfo(context, returnType);
177 return ReadNode<object>(node, typeInfo);
178 }
static JsonTypeInfo GetTypeInfo(JsonSerializerOptions options, Type runtimeType)

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