Last active
March 17, 2022 03:02
-
-
Save puredanger/cbcdd9f54deb7fb7309fdd632f3351f8 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
{:paths ["."] | |
:deps {org.clojure/data.json {:mvn/version "2.4.0"}}} |
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
(ns foo | |
(:require [clojure.data.json :as json])) | |
(defn bar [{:keys [name] :or {name "Kermit"}}] | |
(json/pprint {:name name})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment