Json.NET Schema Documentation
Json.NET Schema Documentation
API Reference
Newtonsoft.Json.Schema
JSchemaPreloadedResolver Class
JSchemaPreloadedResolver Methods
Add Method
Add Method (Uri, Byte[])
Add Method (Uri, Stream)
Add Method (Uri, String)
JSchemaPreloadedResolver
Add Method (Uri, Stream)
Adds a
Stream
for a schema to the
JSchemaPreloadedResolver
store and maps it to a URI.
Namespace:
Newtonsoft.Json.Schema
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
Copy
public
void
Add
(
Uri
uri
,
Stream
value
)
Parameters
uri
Type:
System
Uri
The URI of the schema that is being added to the
JSchemaPreloadedResolver
store.
value
Type:
System.IO
Stream
The
Stream
for a schema that corresponds to the provided URI.
See Also
Reference
JSchemaPreloadedResolver Class
Add Overload
Newtonsoft.Json.Schema Namespace
Json.NET Schema Home