Json.NET Schema Documentation
Json.NET Schema Documentation
API Reference
Newtonsoft.Json.Schema.Generation
StringEnumGenerationProvider Class
StringEnumGenerationProvider Methods
CanGenerateSchema Method
GetSchema Method
StringEnumGenerationProvider
CanGenerateSchema Method
Determines whether this instance can generate a
JSchema
for the specified object type.
Namespace:
Newtonsoft.Json.Schema.Generation
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
Copy
public
override
bool
CanGenerateSchema
(
JSchemaTypeGenerationContext
context
)
Parameters
context
Type:
Newtonsoft.Json.Schema.Generation
JSchemaTypeGenerationContext
The
Type
and associated information.
Return Value
Type:
Boolean
true
if this instance can convert the specified object type; otherwise,
false
.
See Also
Reference
StringEnumGenerationProvider Class
Newtonsoft.Json.Schema.Generation Namespace
Json.NET Schema Home