Class TechVersionInfoDtoJsonConverter
Преобразует TechVersionInfoDto в строку.
Inherited Members
Namespace: Ascon.Vertical.Core.Converters
Assembly: Ascon.Vertical.Core.dll
Syntax
public class TechVersionInfoDtoJsonConverter : JsonConverter<TechVersionInfoDto>
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts the JSON to type TechVersionInfoDto.
Declaration
public override TechVersionInfoDto Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonReader | reader | The reader. |
| Type | typeToConvert | The type to convert. |
| JsonSerializerOptions | options | An object that specifies serialization options to use. |
Returns
| Type | Description |
|---|---|
| TechVersionInfoDto | The converted value. |
Overrides
Write(Utf8JsonWriter, TechVersionInfoDto, JsonSerializerOptions)
Writes a specified value as JSON.
Declaration
public override void Write(Utf8JsonWriter writer, TechVersionInfoDto date, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonWriter | writer | The writer to write to. |
| TechVersionInfoDto | date | |
| JsonSerializerOptions | options | An object that specifies serialization options to use. |