Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.Json.Serialization.JsonDictionaryConverter< TDictionary, TKey, TValue > Class Template Referenceabstract

Public Member Functions

override T Read (ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
 
override void Write (Utf8JsonWriter writer, T value, JsonSerializerOptions options)
 

Protected Member Functions

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

Static Protected Member Functions

static JsonConverter< TGetConverter< T > (JsonTypeInfo typeInfo)
 
static JsonConverter< TGetConverter< T > (JsonTypeInfo typeInfo)
 

Protected Attributes

JsonConverter< TKey > _keyConverter
 
JsonConverter< TValue > _valueConverter
 

Package Functions

bool OnWriteResume (Utf8JsonWriter writer, TDictionary dictionary, 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 ConverterStrategy ConverterStrategy [get]
 
override Type ElementType [get]
 
override Type KeyType [get]
 
override bool HandleNull [get]
 

Detailed Description

Definition at line 12 of file JsonDictionaryConverter.cs.


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