Look for example at the two items in the "important" section (one of them is mine). These are problematic if you're serializing/deserializing arbitrary data. On the other hand, if zou're just using a configuration file with fixed keys and relatively simple values (with no newlines, for example), then YAML should be fine.