Redigera

Dela via


JsonSchemaExporter Class

Definition

Functionality for exporting JSON schema from serialization contracts defined in JsonTypeInfo.

public ref class JsonSchemaExporter abstract sealed
public static class JsonSchemaExporter
type JsonSchemaExporter = class
Public Module JsonSchemaExporter
Inheritance
JsonSchemaExporter

Methods

GetJsonSchemaAsNode(JsonSerializerOptions, Type, JsonSchemaExporterOptions)

Gets the JSON schema for type as a JsonNode document.

GetJsonSchemaAsNode(JsonTypeInfo, JsonSchemaExporterOptions)

Gets the JSON schema for typeInfo as a JsonNode document.

Applies to