Sample code for 30+ languages & platforms
Xbase++ Requires Chilkat v11.0.0+

Transition from MailMan.LastJsonData to MailMan.GetLastJsonData

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat Xbase++ Downloads

Xbase++
LOCAL oMailman
LOCAL oJsonObj
LOCAL oJsonOut

oMailman := CreateObject("Chilkat.MailMan")

//  ...
//  ...

//  ------------------------------------------------------------------------
//  The LastJsonData method is deprecated:

oJsonObj := oMailman:LastJsonData()
IF (oMailman:LastMethodSuccess == 0)
    ? oMailman:LastErrorText
    oMailman:destroy()
    RETURN
ENDIF

//  ...
//  ...

oJsonObj:destroy()

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

oJsonOut := CreateObject("Chilkat.JsonObject")
oMailman:GetLastJsonData(oJsonOut)

oMailman:destroy()
oJsonOut:destroy()