Skip to content

Instantly share code, notes, and snippets.

Last active Dec 12, 2015
What would you like to do?
clj-yaml deserializes into arbitrary data types
;; Clojure library clj-yaml deserializes into arbitrary Java classes
user=> (require '[clj-yaml.core :as yaml])
user=> (yaml/parse-string "!!")
#<File >

This comment has been minimized.

Copy link
Owner Author

@jsl jsl commented Feb 2, 2013

The library defines encode and decode on Object which causes this behavior:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment