mattgemmell/MGTwitterEngine

Bug with array support in MGTwitterSearchYAJLParser

Opened this issue · 0 comments

This causes problems when results contain array within another array. For example, geo coordinates array in twitter search results

-(void)startArrayWithKey:(NSString *)key {
.........
insideArray = YES;
}

Sample data :
{"results": [
{
"profile_image_url": "http://a3.twimg.com/profile_images/725334411/Home_Icon-V2_normal.jpg",
"created_at": "Mon, 20 Sep 2010 01:34:36 +0000",
"from_user": "brambleton",
"metadata": {
"result_type": "recent"
},
"to_user_id": null,
"text": "RT @PostSports: #Redskins Trent Williams says he "just got banged up," but he'll have an MRI exam on his left knee: http://wapo.st/djWtMv",
"id": 24985018198,
"from_user_id": 3697568,
"geo": {
"type": "Point",
"coordinates": [
38.9801,
-77.5023
]
},
"iso_language_code": "en",
"place": {},
"source": "ÜberTwitter"
},