Json.NET Schema Documentation
Json.NET Schema Documentation
API Reference
Newtonsoft.Json.Schema
JsonValidator Class
JsonValidator Methods
CanValidate Method
Validate Method
JsonValidator
Validate Method
Validates the specified
JToken
.
Namespace:
Newtonsoft.Json.Schema
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
Copy
public
abstract
void
Validate
(
JToken
value
,
JsonValidatorContext
context
)
Parameters
value
Type:
Newtonsoft.Json.Linq
JToken
The
JToken
to validate.
context
Type:
Newtonsoft.Json.Schema
JsonValidatorContext
The validation context.
See Also
Reference
JsonValidator Class
Newtonsoft.Json.Schema Namespace
Json.NET Schema Home