BinaryEmbedding.VectorConverter Classe

Definizione

Fornisce un oggetto JsonConverter<T> per la serializzazione delle BitArray istanze.

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)
Ereditarietà
BinaryEmbedding.VectorConverter

Costruttori

Nome Descrizione
BinaryEmbedding.VectorConverter()

Fornisce un oggetto JsonConverter<T> per la serializzazione delle BitArray istanze.

Proprietà

Nome Descrizione
HandleNull

Ottiene un valore che indica se null deve essere passato al convertitore in fase di serializzazione e se Null deve essere passato alla deserializzazione.

(Ereditato da JsonConverter<T>)
Type

Ottiene il tipo convertito dall'istanza del convertitore corrente.

(Ereditato da JsonConverter<T>)

Metodi

Nome Descrizione
CanConvert(Type)

Determina se il tipo specificato può essere convertito.

(Ereditato da JsonConverter<T>)
Read(Utf8JsonReader, Type, JsonSerializerOptions)

Legge e converte il codice JSON nel tipo T.

ReadAsPropertyName(Utf8JsonReader, Type, JsonSerializerOptions)

Legge una chiave del dizionario da un nome di proprietà JSON.

(Ereditato da JsonConverter<T>)
Write(Utf8JsonWriter, BitArray, JsonSerializerOptions)

Scrive un valore specificato come JSON.

Write(Utf8JsonWriter, T, JsonSerializerOptions)

Scrive un valore specificato come JSON.

(Ereditato da JsonConverter<T>)
WriteAsPropertyName(Utf8JsonWriter, T, JsonSerializerOptions)

Scrive una chiave del dizionario come nome di proprietà JSON.

(Ereditato da JsonConverter<T>)

Si applica a