I'm trying to detect errors in json using jsonschema library.

however, I can't seem to locate isValid function in JObject or JToken from the code sample at their website. This is what I got so far

    Dim s = <![CDATA[

        "haha" : { ha : '12'3' },           other : [213,"as"dasd", '132123']


    Dim sche = Newtonsoft.Json.Schema.JSchema.Parse("")
    Dim json = Newtonsoft.Json.Linq.JToken.Parse(s)
    json.isvalid 'isvalid is not a member of jtoken

I have json and jsonschema in my asp.net website bin folder. what am I missing? Any help is greatly appreciated

Related posts

Recent Viewed