BinaryDataJsonConverter.Read 方法

定义

读取 JSON 并将其转换为类型 T

public:
 override BinaryData ^ Read(System::Text::Json::Utf8JsonReader % reader, Type ^ typeToConvert, System::Text::Json::JsonSerializerOptions ^ options);
public override BinaryData? Read (ref System.Text.Json.Utf8JsonReader reader, Type typeToConvert, System.Text.Json.JsonSerializerOptions options);
override this.Read : Utf8JsonReader * Type * System.Text.Json.JsonSerializerOptions -> BinaryData
Public Overrides Function Read (ByRef reader As Utf8JsonReader, typeToConvert As Type, options As JsonSerializerOptions) As BinaryData

参数

reader
Utf8JsonReader

读取器。

typeToConvert
Type

要转换的类型。

options
JsonSerializerOptions

一个对象,指定要使用的序列化选项。

返回

转换后的值。

适用于