BinaryEmbedding.VectorConverter クラス

定義

JsonConverter<T> インスタンスをシリアル化するためのBitArrayを提供します。

public: ref class BinaryEmbedding::VectorConverter sealed : System::Text::Json::Serialization::JsonConverter<System::Collections::BitArray ^>
public sealed class BinaryEmbedding.VectorConverter : System.Text.Json.Serialization.JsonConverter<System.Collections.BitArray>
type BinaryEmbedding.VectorConverter = class
    inherit JsonConverter<BitArray>
Public NotInheritable Class BinaryEmbedding.VectorConverter
Inherits JsonConverter(Of BitArray)
継承
BinaryEmbedding.VectorConverter

コンストラクター

名前 説明
BinaryEmbedding.VectorConverter()

JsonConverter<T> インスタンスをシリアル化するためのBitArrayを提供します。

プロパティ

名前 説明
HandleNull

シリアル化時に null をコンバーターに渡す必要があるかどうか、および逆シリアル化時に Null 渡す必要があるかどうかを示す値を取得します。

(継承元 JsonConverter<T>)
Type

現在のコンバーター インスタンスによって変換される型を取得します。

(継承元 JsonConverter<T>)

メソッド

名前 説明
CanConvert(Type)

指定した型を変換できるかどうかを判断します。

(継承元 JsonConverter<T>)
Read(Utf8JsonReader, Type, JsonSerializerOptions)

JSON を読み取り、 T型に変換します。

ReadAsPropertyName(Utf8JsonReader, Type, JsonSerializerOptions)

JSON プロパティ名からディクショナリ キーを読み取ります。

(継承元 JsonConverter<T>)
Write(Utf8JsonWriter, BitArray, JsonSerializerOptions)

指定した値を JSON として書き込みます。

Write(Utf8JsonWriter, T, JsonSerializerOptions)

指定した値を JSON として書き込みます。

(継承元 JsonConverter<T>)
WriteAsPropertyName(Utf8JsonWriter, T, JsonSerializerOptions)

ディクショナリ キーを JSON プロパティ名として書き込みます。

(継承元 JsonConverter<T>)

適用対象