clj-yaml
                                
                                 clj-yaml copied to clipboard
                                
                                    clj-yaml copied to clipboard
                            
                            
                            
                        Support multi-document dumping
https://clojurians.slack.com/archives/C042XAQFCCU/p1728859798406169
A :dump-all for generate-stream might be a nice counterpart to parse-string's :load-all option.
SnakeYAML should have what you need to do this simply and correctly.