Skip to content

Commit

Permalink
Concise
Browse files Browse the repository at this point in the history
  • Loading branch information
rads committed Oct 19, 2024
1 parent 9cf21ce commit d71ca94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/babashka/json.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
(defn read
"Returns a Clojure value from the JSON reader.
Accepts the following options:
Options:
:key-fn - Convert JSON keys using this function. Defaults to keyword."
([reader] (read reader nil))
([reader opts]
Expand All @@ -47,7 +47,7 @@
(defn read-str
"Returns a Clojure value from the JSON string.
Accepts the following options:
Options:
:key-fn - Convert JSON keys using this function. Defaults to keyword."
([s] (read-str s nil))
([s opts]
Expand Down

0 comments on commit d71ca94

Please sign in to comment.