On Apr 21, 2009, at 9:43 AM, Brad Baxter wrote:
On Sat, Apr 18, 2009 at 8:52 PM, Douglas Mayle <firstname.lastname@example.org> wrote:
Because YAML supports other object types on the same line, the colon
is an ambiguous character. This means that when a human is editing a
YAML document, they have to take care to quote any strings containing
a colon, which introduces other issues. For example:
I want to encode the sentence "Beef: it's what's for dinner" under the
'doc' key. This would end up as:
doc: 'Beef: it''s what''s for dinner'
I confess I haven't studied recent changes to see if any of these
observations are affected. What about:
doc = Beef: it's what's for dinner
Sort of like ini files.
I doubt that will fly, but it would sure be nice to have a good answer
(besides using quotes).