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

◆ Deserialize< TValue >() [10/16]

static ? TValue System.Text.Json.JsonSerializer.Deserialize< TValue > ( string json,
JsonTypeInfo< TValue > jsonTypeInfo )
inlinestatic

Definition at line 1181 of file JsonSerializer.cs.

1182 {
1183 if (json == null)
1184 {
1185 throw new ArgumentNullException("json");
1186 }
1187 if (jsonTypeInfo == null)
1188 {
1189 throw new ArgumentNullException("jsonTypeInfo");
1190 }
1191 return ReadFromSpan<TValue>(json.AsSpan(), jsonTypeInfo);
1192 }
static TValue ReadFromSpan< TValue >(ReadOnlySpan< byte > utf8Json, JsonTypeInfo jsonTypeInfo, int? actualByteCount=null)

References System.Text.Json.JsonSerializer.ReadFromSpan< TValue >().