我正在尝试使用 Json 和 ObjectForKey 引用 Twitter 用户名
推特 JSON 示例
source = web;
user = {
"contributors_enabled" = 0;
"created_at" = "Tue Mar 09 11:36:02 +0000 2010";
"default_profile" = 0;
"default_profile_image" = 0;
description = "Welcome to the Official Twitter page for Tottenham Hotspur Football Club, where you can get your official Club news, competitions and more!";
"favourites_count" = 97;
"follow_request_sent" = "<null>";
"followers_count" = 360893;
following = 1;
"friends_count" = 80;
"geo_enabled" = 0;
id = 121402638;
"id_str" = 121402638;
"is_translator" = 0;
lang = en;
"listed_count" = 3514;
location = "Tottenham, London, England";
name = "Tottenham Hotspur";
}
现在我想在用户中使用键名,但不知道如何引用它。我知道我是否想使用我可以使用的来源
objectForKey:@"source"
但不知道为 user:name 写什么