Click or drag to resize
Json.NET Schema

JSchemaParse Method (String, JSchemaReaderSettings)

 
Load a JSchema from a string that contains schema JSON using the given JSchemaReaderSettings.

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,
	JSchemaReaderSettings settings
)

Parameters

json
Type: SystemString
The JSON.
settings
Type: Newtonsoft.Json.SchemaJSchemaReaderSettings
The JSchemaReaderSettings used to load the schema.

Return Value

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