Click or drag to resize
Json.NET Schema

JSchemaParse Method (String, JSchemaResolver)

 
Load a JSchema from a string that contains schema JSON 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 Parse(
	string json,
	JSchemaResolver resolver
)

Parameters

json
Type: SystemString
The JSON.
resolver
Type: Newtonsoft.Json.SchemaJSchemaResolver
The JSchemaResolver to use when resolving schema references.

Return Value

Type: JSchema
A JSchema populated from the string that contains JSON.
See Also