Click or drag to resize
Json.NET Schema

JSchemaGenerationProviderGetSchema Method

 
Gets a JSchema for a Type.

Namespace:  Newtonsoft.Json.Schema.Generation
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public abstract JSchema GetSchema(
	JSchemaTypeGenerationContext context
)

Parameters

context
Type: Newtonsoft.Json.Schema.GenerationJSchemaTypeGenerationContext
The Type and associated information used to generate a JSchema.

Return Value

Type: JSchema
The generated JSchema or null if type should not have a customized schema.
See Also