Click or drag to resize
Json.NET

JsonSchemaRead Method (JsonReader, JsonSchemaResolver)

 
Reads a JsonSchema from the specified JsonReader.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public static JsonSchema Read(
	JsonReader reader,
	JsonSchemaResolver resolver
)

Parameters

reader
Type: Newtonsoft.JsonJsonReader
The JsonReader containing the JSON Schema to read.
resolver
Type: Newtonsoft.Json.SchemaJsonSchemaResolver
The JsonSchemaResolver to use when resolving schema references.

Return Value

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