Table of Contents

Class JsonSchemaResolver

Namespace
Newtonsoft.Json.Schema
Assembly
Newtonsoft.Json.dll

Resolves JsonSchema from an id.

public class JsonSchemaResolver
Inheritance
JsonSchemaResolver
Inherited Members

Constructors

JsonSchemaResolver()

Initializes a new instance of the JsonSchemaResolver class.

public JsonSchemaResolver()

Properties

LoadedSchemas

Gets or sets the loaded schemas.

public IList<JsonSchema> LoadedSchemas { get; protected set; }

Property Value

IList<JsonSchema>

The loaded schemas.

Methods

GetSchema(string)

Gets a JsonSchema for the specified id.

public virtual JsonSchema GetSchema(string id)

Parameters

id string

The id.

Returns

JsonSchema

A JsonSchema for the specified id.