PowerShell
PowerShell
Transition from Http.LastJsonData to Http.GetLastJsonData
See more HTTP Examples
Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.Chilkat PowerShell Downloads
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"
$http = New-Object Chilkat.Http
# ...
# ...
# ------------------------------------------------------------------------
# The LastJsonData method is deprecated:
$json1 = $http.LastJsonData()
$($json1.Emit())
# ------------------------------------------------------------------------
# Do the equivalent using GetLastJsonData.
$json2 = New-Object Chilkat.JsonObject
$http.GetLastJsonData($json2)
$($json2.Emit())