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

Transition from MailMan.LastJsonData to MailMan.GetLastJsonData

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat Classic ASP Downloads

Classic ASP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set mailman = Server.CreateObject("Chilkat.MailMan")

'  ...
'  ...

'  ------------------------------------------------------------------------
'  The LastJsonData method is deprecated:

' jsonObj is a Chilkat.JsonObject
Set jsonObj = mailman.LastJsonData()
If (mailman.LastMethodSuccess = 0) Then
    Response.Write "<pre>" & Server.HTMLEncode( mailman.LastErrorText) & "</pre>"
    Response.End
End If

'  ...
'  ...

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

set jsonOut = Server.CreateObject("Chilkat.JsonObject")
mailman.GetLastJsonData jsonOut

%>
</body>
</html>