JsonSchemaGenerator Class

Json.NET

Json.NET - Quick Starts & API Documentation JsonSchemaGenerator Class
NamespacesNewtonsoft.Json.SchemaJsonSchemaGenerator
Generates a JsonSchema from a specified Type.
Declaration Syntax
C# Visual Basic Visual C++
public class JsonSchemaGenerator
Public Class JsonSchemaGenerator
public ref class JsonSchemaGenerator
Members
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)
Determines whether the specified Object is equal to the current 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()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UndefinedSchemaIdHandling
Gets or sets how undefined schemas are handled by the serializer.

Inheritance Hierarchy
Object
JsonSchemaGenerator

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