Json.NET Schema Documentation
Json.NET Schema Documentation
API Reference
Newtonsoft.Json.Schema
JSchemaPreloadedResolver Class
JSchemaPreloadedResolver Methods
Add Method
GetSchemaResource Method
JSchemaPreloadedResolver
GetSchemaResource Method
Gets the schema resource for a given schema reference.
Namespace:
Newtonsoft.Json.Schema
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
Copy
public
override
Stream
GetSchemaResource
(
ResolveSchemaContext
context
,
SchemaReference
reference
)
Parameters
context
Type:
Newtonsoft.Json.Schema
ResolveSchemaContext
The schema ID context.
reference
Type:
Newtonsoft.Json.Schema
SchemaReference
The schema reference.
Return Value
Type:
Stream
The schema resource for a given schema reference.
See Also
Reference
JSchemaPreloadedResolver Class
Newtonsoft.Json.Schema Namespace
Json.NET Schema Home