I have a JSon String: { Lastname: Albrecht, MembershipNumber : 42044} - In Json validator this fails:
Error: Parse error on line 1:
{ Lastname: Albre
-^
Expecting ‘STRING’, ‘}’, got ‘undefined’
The code is:
Function HandleSpecialURL(Request As WebRequest) As Boolean
dim lStr as String = "Request Path: " + Request.Path
Select Case Request.Path
Case "ActivateApp"
Dim postData As String = DefineEncoding(request.Entity, Encodings.UTF8)
Dim json As New JSONItem(postData) <-------------------------------------------------- Blows up with json error 7 "Missing " at position 3" The above String
...
Can anybody tell me whats wrong, I’m new to using json.
Thanks