Created
June 1, 2015 19:33
-
-
Save mitchelkuijpers/e0453d2e183d82be25cc to your computer and use it in GitHub Desktop.
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
(defn safe-keyword [str] | |
(if (.contains str " ") str (keyword str))) | |
(cheshire.core/parse-string "{\"with space\": \"blue\"}" safe-keyword) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment