Home GenerativeValidatingJsonConverter Class
GenerativeValidatingJsonConverter Class
Cancel

GenerativeValidatingJsonConverter Class

Namespace: Json.Schema.Generation.Serialization

Inheritance: GenerativeValidatingJsonConverter 🡒 ValidatingJsonConverter 🡒 JsonConverterFactory 🡒 JsonConverter 🡒 object

Extends Json.Schema.Serialization.ValidatingJsonConverter to also allow for schema generation using Json.Schema.Generation.Serialization.GenerateJsonSchemaAttribute.

Properties

NameTypeSummary
BuildOptionsBuildOptionsGets the build options used for the schema build step.
EvaluationOptionsEvaluationOptions 
GeneratorConfigurationSchemaGeneratorConfigurationProvides options for the generator.
TypeType 

Methods

CanConvert(Type typeToConvert)

When overridden in a derived class, determines whether the converter instance can convert the specified object type.

Declaration

1
public override bool CanConvert(Type typeToConvert)
ParameterTypeDescription
typeToConvertTypeThe type of the object to check whether it can be converted by this converter instance.

Returns

if the instance can convert the specified object type; otherwise, .

Contents