Sample code for 30+ languages & platforms
AutoIt

Transition from Http.LastJsonData to Http.GetLastJsonData

See more HTTP Examples

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat AutoIt Downloads

AutoIt
$oHttp = ObjCreate("Chilkat.Http")

; ...
; ...

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

Local $oJson1 = $oHttp.LastJsonData()
ConsoleWrite($oJson1.Emit() & @CRLF)

; ------------------------------------------------------------------------
; Do the equivalent using GetLastJsonData.

$oJson2 = ObjCreate("Chilkat.JsonObject")
$oHttp.GetLastJsonData $oJson2
ConsoleWrite($oJson2.Emit() & @CRLF)