Re: when the keys are not unique: mapping and merging

<[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <BA02A06A22A52C449E4B5EE4CE1DBC3F99BBBA3925@EMV66-UKRD.domain1.systemhost.net>
I have a large application using PyYAML which relies on merging of non-unique keys.   If the values are strings, they are catenated; otherwise a list of all values with the same key is built.     Will this be affected by any future changes to the specification?
Thanks,
Keith

From: Oren Ben-Kiki [mailto:[email protected]]
Sent: 24 January 2012 14:29
To: Andrey Somov
Cc: YAML-Core
Subject: Re: [Yaml-core] when the keys are not unique: mapping and merging

Arrgghh. The wording in  http://yaml.org/type/merge.html  is correct. The  http://code.google.com/p/snakeyaml/issues/detail?id=139 issue isn't really with the merge behavior; the problem is that someone assumed there can be more than one instance of the key to merge. I'm posting a reply on that thread.

Oren.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.