>cContent = "{ " + Chr(34) + "username" + Chr(34) + " : " + Chr(34) + this.cUser + Chr(34) + ", " + Chr(34) + "password" + Chr(34) + " : " + Chr(34) + this.cPasswort + Chr(34) + "}" >Those chr(34) would trip me up too often, so I'd code at least something like
cContent = "{ " + ["username"] + " : " + StreamStr( this.cUser ) + ", " +["password"] + " : " + StreamStr( this.cPasswort ) + "}"Even better is a small library with functions/methods like JSONValue(key, value), JSONStr(Key,value) and so on -