Add an option to parse-string that maps YAML sequences to Clojure vectors instead of Clojure LazySeqs
bombaywalla opened this issue · 2 comments
bombaywalla commented
It would be useful to have parse-string
return a Clojure Vector rather than a Clojure LazySeq for YAML sequences.
It would allow the use of get-in
on the resultant Clojure data structure.
io.forward/yaml
does this.
borkdude commented
This has come up before here: #18
The reason why this wasn't done was to support recursive YAML (which arguably is a niche case).
bombaywalla commented
Sorry. I should have checked closed issues before creating a new one.
I'll use the postwalk suggestion mentioned in the previous issue.
Closing this issue.