Home JsonSchemaAttribute Class
JsonSchemaAttribute Class
Cancel

JsonSchemaAttribute Class

Namespace: Json.Schema.Serialization

Inheritance: JsonSchemaAttribute 🡒 Attribute 🡒 object

Identifies a Json.Schema.JsonSchema to use when deserializing a type.

Properties

NameTypeSummary
TypeIdobject 

Constructors

JsonSchemaAttribute(Type declaringType, string memberName)

Identifies a Json.Schema.JsonSchema to use when deserializing a type.

Declaration

1
public JsonSchemaAttribute(Type declaringType, string memberName)
ParameterTypeDescription
declaringTypeTypeThe type declaring the schema.
memberNamestringThe property or field name for the schema. This member must be public and static.
Contents