From: Marek Janukowicz Date: 2004-02-16T06:19:53+09:00 Subject: Re: YAML and quoted strings On Mon, 16 Feb 2004 03:53:43 +0900, why the lucky stiff wrote: >> How can I store/load a quoted string using YAML? The problem is, YAML >> removes quotes when loading a file and I need to know whether the string >> was quoted or not. The only way I have found so far is to use "'some >> string'", but this is a bit ugly for me. > > Next release of Syck will distinguish between plain and quoted strings. > The YAML specification recently enforces this distinction. Glad to hear that. > Can you give me specifics on your needs? I have ideas for an API, but > I'd like to hear your suggestions. My needs are difficult to explain, but in short: I just need to be able to distinguish between quoted and unquoted string because I am writing a library which has different semantics for these 2 kinds of strings. The YAML files will be created by the developer (user of the library), so I'd like them as readable and clear as possible and I don't think having to write "'string'" complies to these conditions. -- Marek Janukowicz