Click or drag to resize

ExtensionsIsValid Method (JToken, JsonSchema, IListString)

Namespace:  Newtonsoft.Json.Schema
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static bool IsValid(
	this JToken source,
	JsonSchema schema,
	out IList<string> errorMessages
)

Parameters

source
Type: Newtonsoft.Json.LinqJToken
schema
Type: Newtonsoft.Json.SchemaJsonSchema
errorMessages
Type: System.Collections.GenericIListString

Return Value

Type: Boolean

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