You are here: Symbol Reference > Stimulsoft.Base.Json.Schema Namespace > Extensions Class > Extensions Methods > IsValid Method > IsValid Method (this JToken, JsonSchema, out IList<string>)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Extensions.IsValid Method (this JToken, JsonSchema, out IList<string>)

Determines whether the JToken is valid.  

JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschemafor more details.

Syntax
C++
C#
Visual Basic
public: bool IsValid( this JToken source, JsonSchema schema, out IList<string> errorMessages );
Parameters
Parameters 
Description 
source 
The source JToken to test. 
schema 
The schema to test with. 
errorMessages 
When this method returns, contains any error messages generated while validating.  
Returns

true if the specified JToken is valid; otherwise, false.

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.