Friday, 16 August 2013

List of Dictionaries with unknown type

List of Dictionaries with unknown type

I am writing a recursive discovery method, which will basically
deserialize an object. This object is always a List of Dictionaries, but
sometimes the dictionary will have other Dictionaries as values and
sometimes the dictionary will have strings as values. I need to declare
the List at the beginning somehow. List> I am in a pickle at the moment,
anybody know a solution?
Cheers.

No comments:

Post a Comment