clj-yaml icon indicating copy to clipboard operation
clj-yaml copied to clipboard

Fixed keywordization.

Open startling opened this issue 10 years ago • 0 comments

Previously *keywordize* was a dynamic variable, and so e.g. (map decode ...) would use the default *keywordize* (i.e. true) rather than the locally bound one, since map is the calling context. As you can imagine, this caused all kinds of flakiness when you wanted un-keywordized values anywhere but the top level in maps decoded from YAML.

I added a test case and then fixed it.

startling avatar Mar 26 '14 06:03 startling