Json.NET - Quick Starts & API Documentation
Generate Method (type)
Namespaces ► Newtonsoft.Json.Schema ► JsonSchemaGenerator ► Generate(Type)
Generate a JsonSchema from the specified type.

C# | Visual Basic | Visual C++ |
public JsonSchema Generate( Type type )
Public Function Generate ( _ type As Type _ ) As JsonSchema
public: JsonSchema^ Generate( Type^ type )

- type (Type)
- The type to generate a JsonSchema from.

A JsonSchema generated from the specified type.