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

Transition from Http.LastJsonData to Http.GetLastJsonData

See more HTTP Examples

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat Go Downloads

Go
    http := chilkat.NewHttp()

    //  ...
    //  ...

    //  ------------------------------------------------------------------------
    //  The LastJsonData method is deprecated:

    json1 := http.LastJsonData()
    fmt.Println(*json1.Emit())
    json1.DisposeJsonObject()

    //  ------------------------------------------------------------------------
    //  Do the equivalent using GetLastJsonData.

    json2 := chilkat.NewJsonObject()
    http.GetLastJsonData(json2)
    fmt.Println(*json2.Emit())

    http.DisposeHttp()
    json2.DisposeJsonObject()