Decoding from dictionary

Hi ebg,

It’s an idea that I’d very much support!
The subject has been visited before:

My own summary of the discussion is that such a StructureEncoder and StructureDecoder is something that could happen.
My own personal twist on the encoding and decoding of structures is that I would like them to behave as the current JSONDecoder and encoder with regards to the options they take (for doing automatic key conversion), but that does not sound like it’s common enough to be a desired feature.
Sincerely,
/morten