(Xojo Plugin) Transition from MailMan.LastJsonData to MailMan.GetLastJsonData
Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData. Note: This example requires Chilkat v11.0.0 or greater.
Dim mailman As New Chilkat.MailMan
// ...
// ...
// ------------------------------------------------------------------------
// The LastJsonData method is deprecated:
Dim jsonObj As Chilkat.JsonObject
jsonObj = mailman.LastJsonData()
If (mailman.LastMethodSuccess = False) Then
System.DebugLog(mailman.LastErrorText)
Return
End If
// ...
// ...
// ------------------------------------------------------------------------
// Do the equivalent using GetLastJsonData.
// Your application creates a new, empty JsonObject object which is passed
// in the last argument.
Dim jsonOut As New Chilkat.JsonObject
mailman.GetLastJsonData jsonOut
|