Thanks for reply, but for me it was actually about Constructs->AddStringParam with 'string', not about json.
I know my english is not very well...
Conversely, this will work for json, but construct dont accept:
str('{"name"":"'&Reg_NameIN.Text&'","password":"'&SmartFoxServer.EncryptPassword(Reg_PassIN.Text)&'","mail":"'&Reg_MailIN.Text&'"}')
Other example for same situation:
str('He said:"Hello".')
str("He said:\"Hello\".")
This wont work in Construct. Is working in JavaScript. Would be nice if Construct accept this.
Or do you mean something like:
"{%22name%22%22:%22"&Reg_NameIN.Text&"%22,%22password%22:%22"&
SmartFoxServer.EncryptPassword(Reg_PassIN.Text)&"%22,%22mail%22:%22"&Reg_MailIN.Text&"%22}"
I think that's even worse.