I need to save a dictionary to a file, In the dictionary there are strings, integers, and dictionarys.
I did it by my own and it\'s not pretty and n
Presuming your dictionary contains only basic data types, the normal answer is json, it's a popular, well defined language for this kind of thing.
If your dictionary contains more complex data, you will have to manually serialise it at least part of the way.