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

◆ Deserialize() [4/16]

static ? object System.Text.Json.JsonSerializer.Deserialize ( ReadOnlySpan< char > json,
Type returnType,
JsonSerializerOptions? options = null )
inlinestatic

Definition at line 1167 of file JsonSerializer.cs.

1168 {
1169 if (returnType == null)
1170 {
1171 throw new ArgumentNullException("returnType");
1172 }
1173 if (returnType == null)
1174 {
1175 throw new ArgumentNullException("returnType");
1176 }
1178 return ReadFromSpan<object>(json, typeInfo);
1179 }
static JsonTypeInfo GetTypeInfo(JsonSerializerOptions options, Type runtimeType)

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