Hi all,
I've the following json string :
{"FTP" : {"srv" : "test.test.nl","prt" : "","usr" : "username","pwd" : "wachtwoord","pas" : 1}}
which I want to read into the following group structure
FTPGroup GROUP,PRE(FTP)
srv STRING(250)
prt STRING(20)
usr STRING(250)
pwd STRING(250)
pas BYTE
END
with the following code :
lSt_JSON.SetValue(CLIP(EMESS:sendto))
lJSON_FTP.TagCase = jF:CaseLower
lJSON_FTP.Load(FTPGroup, lSt_JSON, 'FTP')
but the parser somehow treats the "test.test.nl" value as a numeric as it comes up with the following error :
ErrorTrap: "Unexpected literal (.) at position 24 v" : "test.test.nl"
this is the first time I'm using jFiles as a parser, so I might be doing something wrong of course, but I haven't got a clue !