Open trevor opened 11 years ago
This is fixed with:
(doto (DumperOptions.)
(.setAllowReadOnlyProperties true)
example (with modified fn's):
=> (println (yaml-dump {:x :y/z :a 'b/c/d}))
---
x: z
a: !!clojure.lang.Symbol
name: d
namespace: b/c
...
(note that setAllowReadOnlyProperties isn't available in snakeyaml 1.5, but is in 1.12)