title: Lightweight string serialization for .Net objects
body: <p>I read several threads on serialization I found here, but they did not answer my question.</p>
  
  <p>I need a simple serialization library, that would reflect over the properties marked with certain attribute and store their values as a string. All the properties are either directly strings or directly convertable to and from string (built-in value types, bool, etc.). It should also understand simple containers (like generic lists) and serialize those content.</p>
  
  <p>The control I need over the serialization is to indicate what properties are to be serialized (only those decorated with an attribute) and I also must be able to indicate that certain properties are serialized as the last ones: during serialization they must be also deserialized as the last ones.</p>
  
  <p>The format does not matter, just normal <code>param1=val1, param2=val2</code> would do, JSON would also do, as well as XML or even escaped or encoded binary format. Important is that I can have all my settings in one string I can easily store and load in my application.</p>
  
  <p>Any ideas?</p>