View Source
Class AutoInterningStringKeyCaseInsensitiveDictionaryConverter<TValue>
When applied to a dictionary with a string key, will ensure the deserialized string keys are interned
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class AutoInterningStringKeyCaseInsensitiveDictionaryConverter<TValue> : CaseInsensitiveDictionaryConverter<TValue>
Type Parameters
Constructors
View Source
AutoInterningStringKeyCaseInsensitiveDictionaryConverter()
Declaration
public AutoInterningStringKeyCaseInsensitiveDictionaryConverter()
View Source
AutoInterningStringKeyCaseInsensitiveDictionaryConverter(StringComparer)
Declaration
public AutoInterningStringKeyCaseInsensitiveDictionaryConverter(StringComparer comparer)
Parameters
Type |
Name |
Description |
StringComparer |
comparer |
|
Methods
View Source
ReadJson(JsonReader, Type, Object, JsonSerializer)
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type |
Name |
Description |
JsonReader |
reader |
|
Type |
objectType |
|
System.Object |
existingValue |
|
JsonSerializer |
serializer |
|
Returns
Type |
Description |
System.Object |
|