JSchemaGenerator Class |
Namespace: Newtonsoft.Json.Schema.Generation
public class JSchemaGenerator
The JSchemaGenerator type exposes the following members.
Name | Description | |
---|---|---|
JSchemaGenerator |
Initializes a new instance of the JSchemaGenerator class.
|
Name | Description | |
---|---|---|
ContractResolver |
Gets or sets the contract resolver.
| |
DefaultRequired |
Gets or sets the default required state of schemas.
| |
GenerationProviders |
Gets a collection of JSchemaGenerationProvider instances that are used to customize JSchema generation.
| |
SchemaIdGenerationHandling |
Gets or sets how IDs are generated for schemas with no ID.
| |
SchemaLocationHandling |
Gets or sets the location of referenced schemas.
| |
SchemaPropertyOrderHandling |
Gets or sets the schema property order.
| |
SchemaReferenceHandling |
Gets or sets whether generated schemas can be referenced.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Generate(Type) |
Generate a JSchema from the specified type.
| |
Generate(Type, Boolean) |
Generate a JSchema from the specified type.
| |
GetHashCode | Serves as the default hash function. (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.) |