Click or drag to resize
Json.NET Schema

JsonValidatorValidate Method

 
Validates the specified JToken.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public abstract void Validate(
	JToken value,
	JsonValidatorContext context
)

Parameters

value
Type: Newtonsoft.Json.LinqJToken
The JToken to validate.
context
Type: Newtonsoft.Json.SchemaJsonValidatorContext
The validation context.
See Also