Skip to content

Commit

Permalink
Fix dakrone#175 (SMILE Reader)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilern committed Mar 19, 2021
1 parent d4d0a54 commit ac54f61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cheshire/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@

(defn parsed-smile-seq
"Returns a lazy seq of Clojure objects corresponding to the SMILE read from
the given reader. The seq continues until the end of the reader is reached.
the given input. The seq continues until the end of the input is reached.
The array-coerce-fn is an optional function taking the name of an array field,
and returning the collection to be used for array values."
Expand Down
3 changes: 1 addition & 2 deletions src/cheshire/parse.clj
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
(extend-parser ToSmileParser -smile-parser SmileFactory
File
InputStream
URL
Reader) ; FIXME: Will actually parse JSON, not SMILE. Kept for backwards compatibility.
URL)

(defn json-parser [input]
(-json-parser input (or factory/*json-factory* factory/json-factory)))
Expand Down

0 comments on commit ac54f61

Please sign in to comment.