Class JsonUdiRangeConverter
Converts an Udi
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter <UdiRange >
Namespace: Umbraco.Cms.Infrastructure.Serialization
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class JsonUdiRangeConverter : JsonConverter<UdiRange>
Methods
View SourceRead(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override UdiRange Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
reader | |
Type | typeToConvert | |
System. |
options |
Returns
Type | Description |
---|---|
Udi |
Write(Utf8JsonWriter, UdiRange, JsonSerializerOptions)
Declaration
public override void Write(Utf8JsonWriter writer, UdiRange value, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
writer | |
Udi |
value | |
System. |
options |