Closed bombaywalla closed 2 years ago
This has come up before here: https://github.com/clj-commons/clj-yaml/pull/18 The reason why this wasn't done was to support recursive YAML (which arguably is a niche case).
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.
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 ofget-in
on the resultant Clojure data structure.io.forward/yaml
does this.