From: leon breedt Date: 2004-11-25T19:08:41+09:00 Subject: Re: YAML question (hi _why!) On Thu, 25 Nov 2004 16:53:31 +0900, Hal Fulton wrote: > For those curious, what I want to do is establish defaults for > fields in an object, such that: > > 1. When I dump an object, fields that still have the default > values will be left unspecified. > 2. When I load an object, unspecified fields will be given their > default values. > +1 for this, I've wanted something very similar. Extra points if it can trickle down to the deepest nested node :) Leon