I am encountering an issue with Xojo.Data.GenerateJSON().
AccountDiko is a Xojo.Core.Dictionary, but I get the error Xojo.Core.InvalidArgumentException on the last line of the code I posted.
Any idea ?
dim AccountNme as string= DefineEncoding(Accountname+".accountjson", encodings.utf8)
dim f as folderItem = FolderSaveDefaults
f = f.child(AccountNme)
Dim json As text
json = Xojo.Data.GenerateJSON(AccountDiko)