iOS 從網絡獲取son並解析
NSString* GXURL = PURL;
GXURL = [GXURL stringByAppendingString:@"/index.php/Api/android_getRankByShow/eid/521"],GXURL;
NSURL* url = [NSURL URLWithString:GXURL];
NSString* gongxian = [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil];
NSData * data = [gongxian dataUsingEncoding:NSUTF8StringEncoding];//將string 轉換成 NSdata
NSDictionary *json = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:nil];//將 NSdata轉換成 字典