Sample code for 30+ languages & platforms
AutoIt

Transition from MailMan.LastJsonData to MailMan.GetLastJsonData

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat AutoIt Downloads

AutoIt
$oMailman = ObjCreate("Chilkat.MailMan")

; ...
; ...

; ------------------------------------------------------------------------
; The LastJsonData method is deprecated:

Local $oJsonObj = $oMailman.LastJsonData()
If ($oMailman.LastMethodSuccess = False) Then
    ConsoleWrite($oMailman.LastErrorText & @CRLF)
    Exit
EndIf

; ...
; ...

; ------------------------------------------------------------------------
; Do the equivalent using GetLastJsonData.
; Your application creates a new, empty JsonObject object which is passed 
; in the last argument.

$oJsonOut = ObjCreate("Chilkat.JsonObject")
$oMailman.GetLastJsonData $oJsonOut