Json.NET - Quick Starts & API Documentation
JsonSchemaGenerator Class
Namespaces ► Newtonsoft.Json.Schema ► JsonSchemaGenerator
Generates a JsonSchema from a specified Type.

C# | Visual Basic | Visual C++ |
public class JsonSchemaGenerator
Public Class JsonSchemaGenerator
public ref class JsonSchemaGenerator

All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
JsonSchemaGenerator()()()() |
Initializes a new instance of the JsonSchemaGenerator class
|
![]() |
ContractResolver |
Gets or sets the contract resolver.
|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
Generate(Type) |
Generate a JsonSchema from the specified type.
|
![]() |
Generate(Type, JsonSchemaResolver) |
Generate a JsonSchema from the specified type.
|
![]() |
Generate(Type, Boolean) |
Generate a JsonSchema from the specified type.
|
![]() |
Generate(Type, JsonSchemaResolver, Boolean) |
Generate a JsonSchema from the specified type.
|
![]() |
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
ToString()()()() | (Inherited from Object.) |
![]() |
UndefinedSchemaIdHandling |
Gets or sets how undefined schemas are handled by the serializer.
|

Object | |
![]() |
JsonSchemaGenerator |