clj-yaml
clj-yaml copied to clipboard
YAML encoding and decoding for Clojure
Clojars claims 1.0.11 exists https://clojars.org/io.forward/yaml but the current project.clj specifies 1.0.11-SNAPSHOT. I wondered if 45f3c9cc5e25a8b969da4a2b327211b72c50fd9d might have meant to change it to 1.0.12-SNAPSHOT. Thanks
Hi, To whom it may concern, there is snakeyaml-engine - which is the new/refactored version of the library https://bitbucket.org/asomov/snakeyaml-engine/src/master/ . There are some changes here and a wiki with documentation...
It seems to me that having `:indicator-indent` set to the same value as `:indent` would generate just as valid YAML as not. For that matter, I think it would be...
Hello, How can I read multiple yaml documents from a single file ? Is that supported? In yaml, you can write multiple documents in a single file by separating documents...
I tried using [tags](http://yaml.org/spec/1.1/current.html#id858600) like next, but I got an error. ```clojure (require '[clj-yaml.core :as yaml]) (yaml/parse-string " - name: !foo Mary Smith ") ``` error: ``` Execution error (ConstructorException)...
If there is a better forum for this question please let me know. Also I'm relatively new to Clojure, so apologies in advance. Minimal example yaml file (the actual files...
SnakeYaml has an option to process comments. It would be good to be able to have access to that option from clj, ideally from bb as well. See https://github.com/snakeyaml/snakeyaml/blob/master/src/main/java/org/yaml/snakeyaml/LoaderOptions.java private...
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.
I notice dumping clojure symbol using clj-yaml, it output `!!clojure.lang.Symbol`. ```clojure user> (require '[clj-yaml.core :as yaml]) user> (yaml/generate-string {:arglists '([] [x])}) "arglists:\n- []\n- - !!clojure.lang.Symbol {}\n" ``` I want that...