Class ListProvidedValueJsonConverter
Inheritance
ListProvidedValueJsonConverter
Inherited Members
Namespace: DataWeb.Data
Assembly: DataWeb.Core.dll
Syntax
public class ListProvidedValueJsonConverter : JsonConverter<List<Form.ProvidedValue>>
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts the JSON to type List<Form.ProvidedValue>.
Declaration
public override List<Form.ProvidedValue> 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 |
---|---|
List<Form.ProvidedValue> | The converted value. |
Overrides
Write(Utf8JsonWriter, List<ProvidedValue>, JsonSerializerOptions)
Writes a specified value as JSON.
Declaration
public override void Write(Utf8JsonWriter writer, List<Form.ProvidedValue> value, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8JsonWriter | writer | The writer to write to. |
List<Form.ProvidedValue> | value | The value to convert to JSON. |
JsonSerializerOptions | options | An object that specifies serialization options to use. |