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

◆ Serialize< TValue >() [1/6]

static void System.Text.Json.JsonSerializer.Serialize< TValue > ( Stream utf8Json,
TValue value,
JsonSerializerOptions? options = null )
inlinestatic

Definition at line 1659 of file JsonSerializer.cs.

1660 {
1661 if (utf8Json == null)
1662 {
1663 throw new ArgumentNullException("utf8Json");
1664 }
1665 Type runtimeType = GetRuntimeType(in value);
1667 WriteStream(utf8Json, in value, typeInfo);
1668 }
static JsonTypeInfo GetTypeInfo(JsonSerializerOptions options, Type runtimeType)

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