I am calling an API which returns some high level data in JSON format. This is then being processed into an NSDictionary like so;
NSDictionary *results = [NSJSONSerialization JSONObjectWithData:JSONData options:kNilOptions error:&error];
When I log this I can a very complicated result similar to this:
{
one = {
oneone = 12345;
onetwo = "Hello";
onethree = "How Are You";
};
two = 42;
three = {
threeone = {
threeoneone = "Name";
threeonetwo = {
threeonetwoone = "100";
threeonetwotwo = "26";
};
etc etc etc
Now I get the contents of ‘three’ by calling [results objectForKey:@"three"] but how do I get the value of ‘threeonetwoone’?
I have tried a few things but to no avail.
In your case: