Objective-C Requires Chilkat v11.0.0+
Objective-C
Transition from Http.LastJsonData to Http.GetLastJsonData
See more HTTP Examples
Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.Chilkat Objective-C Downloads
#import <CkoHttp.h>
#import <CkoJsonObject.h>
CkoHttp *http = [[CkoHttp alloc] init];
// ...
// ...
// ------------------------------------------------------------------------
// The LastJsonData method is deprecated:
CkoJsonObject *json1 = [http LastJsonData];
NSLog(@"%@",[json1 Emit]);
// ------------------------------------------------------------------------
// Do the equivalent using GetLastJsonData.
CkoJsonObject *json2 = [[CkoJsonObject alloc] init];
[http GetLastJsonData: json2];
NSLog(@"%@",[json2 Emit]);