Бөлісу құралы:


JsonSchemaExporter Класс

Определение

Функции экспорта схемы JSON из контрактов сериализации, определенных в JsonTypeInfo.

public ref class JsonSchemaExporter abstract sealed
public static class JsonSchemaExporter
type JsonSchemaExporter = class
Public Module JsonSchemaExporter
Наследование
JsonSchemaExporter

Методы

GetJsonSchemaAsNode(JsonSerializerOptions, Type, JsonSchemaExporterOptions)

Возвращает схему JSON для type в виде документа JsonNode.

GetJsonSchemaAsNode(JsonTypeInfo, JsonSchemaExporterOptions)

Возвращает схему JSON для typeInfo в виде документа JsonNode.

Применяется к