Delphi ActiveX Requires Chilkat v11.0.0+
Delphi ActiveX
Transition from Http.LastJsonData to Http.GetLastJsonData
See more HTTP Examples
Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.Chilkat Delphi ActiveX Downloads
var
http: TChilkatHttp;
json1: IChilkatJsonObject;
json2: TChilkatJsonObject;
begin
http := TChilkatHttp.Create(Self);
// ...
// ...
// ------------------------------------------------------------------------
// The LastJsonData method is deprecated:
json1 := http.LastJsonData();
Memo1.Lines.Add(json1.Emit());
// ------------------------------------------------------------------------
// Do the equivalent using GetLastJsonData.
json2 := TChilkatJsonObject.Create(Self);
http.GetLastJsonData(json2.ControlInterface);
Memo1.Lines.Add(json2.Emit());