Click or drag to resize
Json.NET Schema

JSchemaGeneratorGenerate Method (Type)

 
Generate a JSchema from the specified type.

Namespace:  Newtonsoft.Json.Schema.Generation
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public virtual JSchema Generate(
	Type type
)

Parameters

type
Type: SystemType
The type to generate a JSchema from.

Return Value

Type: JSchema
A JSchema generated from the specified type.
See Also