Class InterfaceConverter<T>
Inheritance
System.Object
InterfaceConverter<T>
Assembly: Scraper.Net.dll
Syntax
public class InterfaceConverter<T> : JsonConverter<T> where T : class
Type Parameters
Methods
|
Improve this Doc
View Source
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type |
Name |
Description |
Utf8JsonReader |
reader |
|
Type |
typeToConvert |
|
JsonSerializerOptions |
options |
|
Returns
|
Improve this Doc
View Source
Write(Utf8JsonWriter, T, JsonSerializerOptions)
Declaration
public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
Parameters
Type |
Name |
Description |
Utf8JsonWriter |
writer |
|
T |
value |
|
JsonSerializerOptions |
options |
|