I need to be able to serialize / deserialize a Dictionary to a human-readable (and if it comes down to it, human-editable) string (XML or Json preferably).
I only need to work with String dictionaries, not other object types of any kind. The strings, however, are presumed to be free text, so they can have characters like single/double quotes, etc, so they must be encoded/escaped correctly.
This project is based on .Net 2.0 so I can't use JSON.Net unfortunately.
Any ideas what's the best way to do this quickly?
I could obviously write my own code to do this, but I'm expecting to find a lot of escaping headaches if I go that way, especially on the deserializing part.
Any ideas will be appreciated.
Thanks!
Daniel