Of course it doesn't - your instance checks are for dicts, lists and strings and an object of type Foo for example is not one of those things. Where did this problem come from? Is this really the right kind of structure for the data?
Finding value in nested dictionaries with lists
Users browsing this thread: 1 Guest(s)