Class RowConverter<T>
JSON converter for table row objects of type T, handling the mapping
between .NET properties and the Data API row format, including support for column name attributes,
vectorize columns, JSON string columns, and non-string-keyed dictionary columns.
public class RowConverter<T> : JsonConverter<T> where T : class
Type Parameters
T
- Inheritance
-
RowConverter<T>
- Inherited Members
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts JSON to a T instance.
public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
readerUtf8JsonReadertypeToConvertTypeoptionsJsonSerializerOptions
Returns
- T
Write(Utf8JsonWriter, T, JsonSerializerOptions)
Writes a T instance as JSON.
public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
Parameters
writerUtf8JsonWritervalueToptionsJsonSerializerOptions