Sample code for 30+ languages & platforms
Lianja

Transition from MailMan.LastJsonData to MailMan.GetLastJsonData

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat Lianja Downloads

Lianja
loMailman = createobject("CkMailMan")

// ...
// ...

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

loJsonObj = loMailman.LastJsonData()
if (loMailman.LastMethodSuccess = .F.) then
    ? loMailman.LastErrorText
    release loMailman
    return
endif

// ...
// ...

release loJsonObj

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

loJsonOut = createobject("CkJsonObject")
loMailman.GetLastJsonData(loJsonOut)


release loMailman
release loJsonOut