How to serialize deserialize Dictionnary Object

Aug 17, 2010 at 12:58 PM
Edited Aug 17, 2010 at 1:03 PM

I would like to have like a HashMap Object in the class I want to serialize, deserialize. How I can do that ?

I have a class CTMessage where I have properties. It would be great if it was a HashMap Object like Dictionnary<name, value>, in that case I can access to the properties more quickly. What I want is to have a Dictionnary<Name, Value> rather than a list of <NameValue>