Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.Json.Serialization.Converters.IDictionaryConverter< TDictionary > Class Template Referencesealed

Protected Member Functions

override void Add (string key, in object value, JsonSerializerOptions options, ref ReadStack state)
 
override void CreateCollection (ref Utf8JsonReader reader, ref ReadStack state)
 
void Add (TKey key, in TValue value, JsonSerializerOptions options, ref ReadStack state)
 
virtual void ConvertCollection (ref ReadStack state, JsonSerializerOptions options)
 

Static Protected Member Functions

static JsonConverter< TGetConverter< T > (JsonTypeInfo typeInfo)
 

Protected Attributes

JsonConverter< TKey > _keyConverter
 
JsonConverter< TValue > _valueConverter
 

Package Functions

override bool OnWriteResume (Utf8JsonWriter writer, TDictionary value, JsonSerializerOptions options, ref WriteStack state)
 
override bool OnTryRead (ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, ref ReadStack state,[MaybeNullWhen(false)] out TDictionary value)
 
override bool OnTryWrite (Utf8JsonWriter writer, TDictionary dictionary, JsonSerializerOptions options, ref WriteStack state)
 
override void CreateInstanceForReferenceResolver (ref Utf8JsonReader reader, ref ReadStack state, JsonSerializerOptions options)
 

Properties

override Type RuntimeType [get]
 
override ConverterStrategy ConverterStrategy [get]
 
override Type ElementType [get]
 
override Type KeyType [get]
 

Detailed Description

Type Constraints
TDictionary :IDictionary 

Definition at line 7 of file IDictionaryConverter.cs.


The documentation for this class was generated from the following file: