Newtonsoft.Json.Schema.Extensions
Contains the JSON schema extension methods.
JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.namespace Newtonsoft.Json.Schema
{
public static class Extensions
{
public static bool IsValid(this JToken source, JsonSchema schema);
public static bool IsValid(this JToken source, JsonSchema schema, out IList<string> errorMessages);
public static void Validate(this JToken source, JsonSchema schema);
public static void Validate(this JToken source, JsonSchema schema, ValidationEventHandler validationEventHandler);
}
}