I'm working on creating a JSON visualizer (
with expandable views for each value) and I'm running into an issue:
I've got an
, returned by
. I want to check the values of it's objects and find out which ones are Arrays or Dictionaries.
Ideally, I'm hoping that Arrays and Dictionaries have an underlying type, such as
, so that I don't have to handle them separately. If they don't have that underlying type, how can I check to see if a given
is a collection?