clj-commons/clj-yaml通过 Java库为Clojure提供编码和解码。 (这是的维护叉)。 用法 ( require '[clj-yaml.core :as yaml]) ( yaml/generate-string [{ :name " John Smith " , :age 33 } { :name " Mary Smith " , :age 27 }]) " - {name: John Smith, age: 33} \n - {name: Mary Smith, age: 27} \n " ( yaml/parse-string " - {name: Jo