Click or drag to resize

ExtensionsValidate Method (JToken, JsonSchema)

Note: This API is now obsolete.

[Missing <summary> documentation for "M:Stimulsoft.Base.Json.Schema.Extensions.Validate(Stimulsoft.Base.Json.Linq.JToken,Stimulsoft.Base.Json.Schema.JsonSchema)"]

Namespace:  Stimulsoft.Base.Json.Schema
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
[ObsoleteAttribute("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public static void Validate(
	this JToken source,
	JsonSchema schema
)

Parameters

source
Type: Stimulsoft.Base.Json.LinqJToken

[Missing <param name="source"/> documentation for "M:Stimulsoft.Base.Json.Schema.Extensions.Validate(Stimulsoft.Base.Json.Linq.JToken,Stimulsoft.Base.Json.Schema.JsonSchema)"]

schema
Type: Stimulsoft.Base.Json.SchemaJsonSchema

[Missing <param name="schema"/> documentation for "M:Stimulsoft.Base.Json.Schema.Extensions.Validate(Stimulsoft.Base.Json.Linq.JToken,Stimulsoft.Base.Json.Schema.JsonSchema)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type JToken. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also