Json.NET Schema Documentation
Json.NET Schema Documentation
API Reference
Newtonsoft.Json.Schema.Generation
StringEnumGenerationProvider Class
StringEnumGenerationProvider Methods
CanGenerateSchema Method
GetSchema Method
StringEnumGenerationProvider
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
override
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
.
See Also
Reference
StringEnumGenerationProvider Class
Newtonsoft.Json.Schema.Generation Namespace
Json.NET Schema Home