Class JsonDictionaryStringIgnoreCaseConverter<TValue>
Converts a dictionary with a string key to or from JSON, using the
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter <Dictionary<System.String , TValue>>
Namespace: Umbraco.Cms.Infrastructure.Serialization
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class JsonDictionaryStringIgnoreCaseConverter<TValue> : ReadOnlyJsonConverter<Dictionary<string, TValue>>
Type Parameters
Name | Description |
---|---|
TValue | The type of the dictionary value. |
Methods
View SourceRead(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override Dictionary<string, TValue>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
reader | |
Type | typeToConvert | |
System. |
options |
Returns
Type | Description |
---|---|
System. |