Class JsonSchemaGenerator
Inheritance
JsonSchemaGenerator
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
[System.Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public class JsonSchemaGenerator
Constructors
Declaration
public JsonSchemaGenerator ();
Properties
Declaration
public Newtonsoft.Json.Serialization.IContractResolver ContractResolver { get; set; }
Property Value
Declaration
public Newtonsoft.Json.Schema.UndefinedSchemaIdHandling UndefinedSchemaIdHandling { get; set; }
Property Value
Methods
Declaration
public Newtonsoft.Json.Schema.JsonSchema Generate (Type type);
Parameters
Returns
Declaration
public Newtonsoft.Json.Schema.JsonSchema Generate (Type type, Newtonsoft.Json.Schema.JsonSchemaResolver resolver);
Parameters
Returns
Declaration
public Newtonsoft.Json.Schema.JsonSchema Generate (Type type, bool rootSchemaNullable);
Parameters
Returns
Declaration
public Newtonsoft.Json.Schema.JsonSchema Generate (Type type, Newtonsoft.Json.Schema.JsonSchemaResolver resolver, bool rootSchemaNullable);
Parameters
Returns