Json.NET Schema Documentation
Json.NET Schema Documentation
API Reference
Newtonsoft.Json.Schema.Generation
JSchemaGenerationProvider Class
JSchemaGenerationProvider Methods
CanGenerateSchema Method
GetSchema Method
JSchemaGenerationProvider
GetSchema Method
Gets a
JSchema
for a
Type
.
Namespace:
Newtonsoft.Json.Schema.Generation
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
Copy
public
abstract
JSchema
GetSchema
(
JSchemaTypeGenerationContext
context
)
Parameters
context
Type:
Newtonsoft.Json.Schema.Generation
JSchemaTypeGenerationContext
The
Type
and associated information used to generate a
JSchema
.
Return Value
Type:
JSchema
The generated
JSchema
or
null
if type should not have a customized schema.
See Also
Reference
JSchemaGenerationProvider Class
Newtonsoft.Json.Schema.Generation Namespace
Json.NET Schema Home