尝试重新创建JSON格式(已解析)

时间:2013-10-12 22:59:52

标签: ios objective-c json

我想重新创建这种确切的格式:

activities =     (
                {
            "activity_begindate" = "";
            "activity_category_id" = 1;
            "activity_city" = " ";
            "activity_description" = "";
            "activity_email" = "";
            "activity_enddate" = "2013-10-15";
            "activity_id" = 121;
            "activity_image" = "";
            "activity_time" = "15:46";
            "activity_title" = "";
            "activity_where" = "anywhere ";
            "bitly_url" = "";
            gotooffer = "";
            latitude = "";
            longitude = "";
            "user_fullname" = "";
            "user_id" = ;
        },

我从哪里开始这个?这是否需要我使用不同的密钥创建NSDictionary?

1 个答案:

答案 0 :(得分:0)

这将是NSDictionary,其中一个键activities包含NSArray NSDictionaries