booby icon indicating copy to clipboard operation
booby copied to clipboard

A keyed collection, to deserialize dictionaries of model objects with arbitrary keys

Open paulmelnikow opened this issue 9 years ago • 0 comments

Hi there. I'm working on modeling a new format which has a field that contains a dictionary of model objects. I think what I'm looking for would be something like a KeyedCollection or a Mapping.

The keys of the dictionary depend on the parent object's type, and aren't known in advance, so I can't just use a model.

Am I right that this isn't really possible now?

paulmelnikow avatar Nov 08 '15 00:11 paulmelnikow