Re: Feature request: repeated nodes without anchors
Andrey Somov <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CAEO54bFYWU=NCcbeB4B-vphr7ZDdNwQ32JCoToVHa+jPbwtKpQ@mail.gmail.com> |
Dear Alex, please be aware that YAML is no JSON, the keys do not have to be strings. It can be a structure of any complexity (for instance an array with strings and numbers) First we need to agree on a XPath-like definition for YAML. Unfortunately current YAML specification tries to include any hack ever invented for a text format (Perl-like approach). It has 18 (!!!) definitions for a boolean value. May be some day YAML format will drop all the complex things and then small and convenient things (like the one you suggest) will be easy. Have fun, Andrey On Sun, May 27, 2012 at 11:35 AM, Alexey Muranov <[email protected]>wrote: > Hello, > > i am sorry if this has already been discussed, i have just subscribed to > the list and was not very successful in searching the archives. > > Wouldn't it be nice if it was specified that repeated nodes can be > reverenced without anchors like this (for example): > > users: > bruce: > full_name: "Bruce Willis" > pages: > users: > bruce: > title: :users.bruce.full_name > > Thanks, > > Alexey. > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Yaml-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/yaml-core > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core