Method | Description | |
---|---|---|
IsValid ( JToken source, |
Determines whether the JToken is valid.
|
|
IsValid ( JToken source, |
Determines whether the JToken is valid.
|
|
Validate ( JToken source, |
Validates the specified JToken.
|
|
Validate ( JToken source, |
Validates the specified JToken.
|
public static IsValid ( JToken source, |
||
source | JToken | The source |
schema | The schema to test with. | |
return | bool |
public static IsValid ( JToken source, |
||
source | JToken | The source |
schema | The schema to test with. | |
errorMessages | IList | When this method returns, contains any error messages generated while validating. |
return | bool |
public static Validate ( JToken source, |
||
source | JToken | The source |
schema | The schema to test with. | |
return | void |
public static Validate ( JToken source, |
||
source | JToken | The source |
schema | The schema to test with. | |
validationEventHandler | ValidationEventHandler | The validation event handler. |
return | void |