Skip to content

Instantly share code, notes, and snippets.

@puredanger
Last active March 17, 2022 03:02
Show Gist options
  • Save puredanger/cbcdd9f54deb7fb7309fdd632f3351f8 to your computer and use it in GitHub Desktop.
Save puredanger/cbcdd9f54deb7fb7309fdd632f3351f8 to your computer and use it in GitHub Desktop.
{:paths ["."]
:deps {org.clojure/data.json {:mvn/version "2.4.0"}}}
(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