Json.NET Schema Documentation
Json.NET Schema Documentation
API Reference
Newtonsoft.Json.Schema
JSchemaResolver Class
JSchemaResolver Methods
GetSchemaResource Method
GetSubschema Method
ResolveSchemaReference Method
JSchemaResolver
GetSubschema Method
Finds a subschema using the given schema reference.
Namespace:
Newtonsoft.Json.Schema
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
Copy
public
virtual
JSchema
GetSubschema
(
SchemaReference
reference
,
JSchema
rootSchema
)
Parameters
reference
Type:
Newtonsoft.Json.Schema
SchemaReference
The schema reference used to get the subschema.
rootSchema
Type:
Newtonsoft.Json.Schema
JSchema
The root schema to resolve the subschema from.
Return Value
Type:
JSchema
The matching subschema.
See Also
Reference
JSchemaResolver Class
Newtonsoft.Json.Schema Namespace
Json.NET Schema Home