public static FriendList ParseFriendList(string jsonFriend) { JArray array = CreateArray(jsonFriend); JsonConvert.DeserializeObject<FriendResponse>(array.First().ToString()); FriendList friendList; friendList = new FriendList(); foreach (JObject content in array.Children<JObject>()) { FriendResponse fr = new FriendResponse(); string str = content.ToString(); fr = JsonConvert.DeserializeObject<FriendResponse>(str); friendList.response.Add(JsonConvert.DeserializeObject<FriendResponse>(content.ToString())); } return friendList; }