JsonSchemaExporter Classe

Définition

Fonctionnalité permettant d’exporter le schéma JSON à partir de contrats de sérialisation définis dans JsonTypeInfo.

public ref class JsonSchemaExporter abstract sealed
public static class JsonSchemaExporter
type JsonSchemaExporter = class
Public Module JsonSchemaExporter
Héritage
JsonSchemaExporter

Méthodes

GetJsonSchemaAsNode(JsonSerializerOptions, Type, JsonSchemaExporterOptions)

Obtient le schéma JSON pour type en tant que document JsonNode.

GetJsonSchemaAsNode(JsonTypeInfo, JsonSchemaExporterOptions)

Obtient le schéma JSON pour typeInfo en tant que document JsonNode.

S’applique à