ReStoreForPharo icon indicating copy to clipboard operation
ReStoreForPharo copied to clipboard

How to store dictionaries with non-uniform key or value classes?

Open pdebruic opened this issue 2 years ago • 0 comments

Hi -

the ZnHeader class (part of the Zinc http library) can/does hold strings as keys but a variety of objects as values (e.g. ZnMimeType, Integer, String). Which all can be emitted as strings in a ZnRequest or ZnResponse.

How would you define a #reStoreDefinition for that use case?

Thanks

pdebruic avatar Apr 29 '22 18:04 pdebruic