Closed fwhenin closed 10 years ago
right now, you can do this to access the data:
[[packet.args objectAtIndex:0] objectForKey:@"status"]
I should add a more convenient method for this.
that's returning nil :-/, but I see it in debug and NSLog the packet.args, but not when I do objectForKey
got it...closing this
I have the packet data coming in on a recieveEvent delegate.
getting dictionary of packet.dataAsJSON works, and doing an NSLog on that looks like this
First, I'm confused as to why it has '=' and ';' instead of ':' and ','
Second, when I getObjectAtKey:@"args", I don't get another dictionary of 3 objects , I get a dictionary of 1 object...and there's no keys...if I parse it as an Array, and get objectsAtIndex:0, I'm getting 3 objects but not dictionaries, I'm trying to access the data in there, but it isn't working. help please