Sample code for 30+ languages & platforms
Visual Basic 6.0

Transition from Http.LastJsonData to Http.GetLastJsonData

See more HTTP Examples

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim http As New ChilkatHttp

' ...
' ...

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

Dim json1 As ChilkatJsonObject
Set json1 = http.LastJsonData()
Debug.Print json1.Emit()

' ------------------------------------------------------------------------
' Do the equivalent using GetLastJsonData.

Dim json2 As New ChilkatJsonObject
http.GetLastJsonData json2
Debug.Print json2.Emit()