Sample code for 30+ languages & platforms
Chilkat2-Python

Transition from Http.LastJsonData to Http.GetLastJsonData

See more HTTP Examples

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat Chilkat2-Python Downloads

Chilkat2-Python
import chilkat2

http = chilkat2.Http()

# ...
# ...

# ------------------------------------------------------------------------
# The LastJsonData method is deprecated:

# json1 is a CkJsonObject
json1 = http.LastJsonData()
print(json1.Emit())

# ------------------------------------------------------------------------
# Do the equivalent using GetLastJsonData.

json2 = chilkat2.JsonObject()
http.GetLastJsonData(json2)
print(json2.Emit())