When a ConfigObject is written to file all values are quoted with ". This leads to problems if a value contains a $ for example.
Consider the following code snipet:
The output is:
The according file content:
As can be seen the two config objects differ widely. A solution could perhaps be writing properties quoted by ' or writing the properties the way they are quoted in the source code, e. g. config.property1 = "$property1" would become property1 = "$property1" in the file and config.property2 = '$property1' would become property2 = '$property1'. This way the programmer could control the desired behaviour.