Re: Question about type tags
William Spitzak <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
> Oren Ben-Kiki wrote:
>> you _could_ mess up the file structure and do
>> something like:
>>
>> - a: { name: nameofa, a: value of a }
>> - b: { name: nameofb, b: value of b }
>>
>> But that's really just a dirtier form of tagging.
>
> I guess that would work. It has the advantage that it works in json
> (though it looks ugly there), while if I use tags I will never be able
> to produce legit json.
Actually after a bit of work I decided we should use this second method.
The primary reason is that I can losslessly convert to json. Also
libyaml had some strange ideas about exclamation points that made me
think I might be using tags incorrectly, while names were done cleanly.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july