Class JsonStringInternConverter
Converts a string to or from JSON, interning the string when reading.
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter <System.String >
ReadOnlyJsonConverter <System.String >
Namespace: Umbraco.Cms.Infrastructure.Serialization
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class JsonStringInternConverter : ReadOnlyJsonConverter<string>
Methods
View SourceRead(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
reader | |
Type | typeToConvert | |
System. |
options |
Returns
Type | Description |
---|---|
System. |