clj-yaml deserializes into arbitrary data types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|;; Clojure library clj-yaml deserializes into arbitrary Java classes|
|user=> (require '[clj-yaml.core :as yaml])|
|user=> (yaml/parse-string "!!java.io.File")|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
The library defines
decodeon Object which causes this behavior: https://github.com/lancepantz/clj-yaml/blob/master/src/clj_yaml/core.clj#L61.