BinaryEmbedding.VectorConverter Classe

Définition

Fournit un JsonConverter<T> outil de sérialisation des BitArray instances.

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)
Héritage
BinaryEmbedding.VectorConverter

Constructeurs

Nom Description
BinaryEmbedding.VectorConverter()

Fournit un JsonConverter<T> outil de sérialisation des BitArray instances.

Propriétés

Nom Description
HandleNull

Obtient une valeur qui indique si null elle doit être transmise au convertisseur lors de la sérialisation et si Null elle doit être transmise à la désérialisation.

(Hérité de JsonConverter<T>)
Type

Obtient le type en cours de conversion par l’instance de convertisseur actuelle.

(Hérité de JsonConverter<T>)

Méthodes

Nom Description
CanConvert(Type)

Détermine si le type spécifié peut être converti.

(Hérité de JsonConverter<T>)
Read(Utf8JsonReader, Type, JsonSerializerOptions)

Lit et convertit le JSON en type T.

ReadAsPropertyName(Utf8JsonReader, Type, JsonSerializerOptions)

Lit une clé de dictionnaire à partir d’un nom de propriété JSON.

(Hérité de JsonConverter<T>)
Write(Utf8JsonWriter, BitArray, JsonSerializerOptions)

Écrit une valeur spécifiée en tant que JSON.

Write(Utf8JsonWriter, T, JsonSerializerOptions)

Écrit une valeur spécifiée en tant que JSON.

(Hérité de JsonConverter<T>)
WriteAsPropertyName(Utf8JsonWriter, T, JsonSerializerOptions)

Écrit une clé de dictionnaire en tant que nom de propriété JSON.

(Hérité de JsonConverter<T>)

S’applique à