Show / Hide Table of Contents

    Class Extensions

    Inheritance
    Object
    Extensions
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Newtonsoft.Json.dll
    Syntax
    [System.Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
    public static class Extensions

    Methods

    IsValid(JToken, JsonSchema)

    Declaration
    [System.Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
    public static bool IsValid (this Newtonsoft.Json.Linq.JToken source, Newtonsoft.Json.Schema.JsonSchema schema);
    Parameters
    JToken source

    JsonSchema schema

    Returns
    Boolean

    IsValid(JToken, JsonSchema, IList<String>)

    Declaration
    [System.Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
    public static bool IsValid (this Newtonsoft.Json.Linq.JToken source, Newtonsoft.Json.Schema.JsonSchema schema, out System.Collections.Generic.IList<string> errorMessages);
    Parameters
    JToken source

    JsonSchema schema

    IList<String> errorMessages

    Returns
    Boolean

    Validate(JToken, JsonSchema)

    Declaration
    [System.Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
    public static void Validate (this Newtonsoft.Json.Linq.JToken source, Newtonsoft.Json.Schema.JsonSchema schema);
    Parameters
    JToken source

    JsonSchema schema

    Validate(JToken, JsonSchema, ValidationEventHandler)

    Declaration
    [System.Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
    public static void Validate (this Newtonsoft.Json.Linq.JToken source, Newtonsoft.Json.Schema.JsonSchema schema, Newtonsoft.Json.Schema.ValidationEventHandler validationEventHandler);
    Parameters
    JToken source

    JsonSchema schema

    ValidationEventHandler validationEventHandler

    Back to top Azure SDK for Net