Table of Contents

Class JsonSchemaContext

Namespace
Nerdbank.MessagePack
Assembly
Nerdbank.MessagePack.dll

The context provided to GetJsonSchema(JsonSchemaContext, ITypeShape) to aid in the generation of JSON schemas for types.

public class JsonSchemaContext
Inheritance
JsonSchemaContext
Inherited Members

Methods

GetJsonSchema(ITypeShape)

Obtains the JSON schema for a given type.

public JsonObject GetJsonSchema(ITypeShape typeShape)

Parameters

typeShape ITypeShape

The shape for the type.

Returns

JsonObject

The JSON schema.