$ python -c 'import yaml; print(yaml.safe_dump("foo\x05bar"))'
"foo\x05bar"
$ bb '(require (quote [clj-yaml.core :as yaml])) (yaml/generate-string (pr-str "foo\u0005bar"))'
"!!binary |-\n ImZvbwViYXIi\n"
Is there an option to not use !!binary?I see https://www.javadoc.io/doc/org.yaml/snakeyaml/1.25/org/yaml/snakeyaml/DumperOptions.html#setNonPrintableStyle-org.yaml.snakeyaml.DumperOptions.NonPrintableStyle- How would I set that option for clj-yaml to honor?
Hiya @ingy, I don't see a call to setNonPrintableStyle in clj-yaml source, sooo... probably can't yet? Issue (then PR if you are up for it) welcome!