On Wednesday, February 13, 2013 12:06:10 Leandro Lucarella wrote: > Please, don't use json for configuration files, is a format intended for > machines, not humans (OK, is better than XML but still horrible for > humans). > > If you need a standard and flexible file format that is almost as good > for humans and machines, maybe you want to consider YAML. > > Environment: > override: > name: value > baz: foo > default: > foo: bar > > But I still think a configuration file shouldn't be as complex as YAML.
Technically, YAML is a superset of JSON. Regardless, I personally hate YAML, because it's whitespace/indentation-sensitive, which is pure evil IMHO. I'd take a normal JSON file (or even XML) any day over a YAML file. - Jonathan M Davis _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
