Click or drag to resize
Json.NET Schema

JSchemaLoad Method (JsonReader, JSchemaResolver)

 
Loads a JSchema from a JsonReader using the given JSchemaResolver.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public static JSchema Load(
	JsonReader reader,
	JSchemaResolver resolver
)

Parameters

reader
Type: Newtonsoft.JsonJsonReader
The JsonReader containing the JSON Schema to load.
resolver
Type: Newtonsoft.Json.SchemaJSchemaResolver
The JSchemaResolver to use when resolving schema references.

Return Value

Type: JSchema
The JSchema object representing the JSON Schema.
See Also