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

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

static ? TValue System.Text.Json.JsonSerializer.Deserialize< TValue > ( ReadOnlySpan< byte > utf8Json,
JsonSerializerOptions? options = null )
inlinestatic

Definition at line 790 of file JsonSerializer.cs.

791 {
792 JsonTypeInfo typeInfo = GetTypeInfo(options, typeof(TValue));
793 return ReadFromSpan<TValue>(utf8Json, typeInfo);
794 }
static TValue ReadFromSpan< TValue >(ReadOnlySpan< byte > utf8Json, JsonTypeInfo jsonTypeInfo, int? actualByteCount=null)
static JsonTypeInfo GetTypeInfo(JsonSerializerOptions options, Type runtimeType)

References System.Text.Json.Dictionary, System.Text.Json.JsonSerializer.GetTypeInfo(), System.options, and System.Text.Json.JsonSerializer.ReadFromSpan< TValue >().