Generate Method (type, resolver)

Json.NET

Json.NET - Quick Starts & API Documentation Generate Method (type, resolver)
NamespacesNewtonsoft.Json.SchemaJsonSchemaGeneratorGenerate(Type, JsonSchemaResolver)
Generate a JsonSchema from the specified type.
Declaration Syntax
C# Visual Basic Visual C++
public JsonSchema Generate(
	Type type,
	JsonSchemaResolver resolver
)
Public Function Generate ( _
	type As Type, _
	resolver As JsonSchemaResolver _
) As JsonSchema
public:
JsonSchema^ Generate(
	Type^ type, 
	JsonSchemaResolver^ resolver
)
Parameters
type (Type)
The type to generate a JsonSchema from.
resolver (JsonSchemaResolver)
The JsonSchemaResolver used to resolve schema references.
Return Value
A JsonSchema generated from the specified type.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)