Sample code for 30+ languages & platforms
C#

Transition from Http.LastJsonData to Http.GetLastJsonData

See more HTTP Examples

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat C# Downloads

C#
Chilkat.Http http = new Chilkat.Http();

//  ...
//  ...

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

Chilkat.JsonObject json1 = http.LastJsonData();
Debug.WriteLine(json1.Emit());

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

Chilkat.JsonObject json2 = new Chilkat.JsonObject();
http.GetLastJsonData(json2);
Debug.WriteLine(json2.Emit());