Click or drag to resize

ExtensionsIsValid Method (JToken, JsonSchema)

Note: This API is now obsolete.

[Missing <summary> documentation for "M:Stimulsoft.Base.Json.Schema.Extensions.IsValid(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 bool IsValid(
	this JToken source,
	JsonSchema schema
)

Parameters

source
Type: Stimulsoft.Base.Json.LinqJToken

[Missing <param name="source"/> documentation for "M:Stimulsoft.Base.Json.Schema.Extensions.IsValid(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.IsValid(Stimulsoft.Base.Json.Linq.JToken,Stimulsoft.Base.Json.Schema.JsonSchema)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Stimulsoft.Base.Json.Schema.Extensions.IsValid(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