Skip to content

Commit

Permalink
add helpers for streams
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed Mar 28, 2011
1 parent fc4b6f2 commit 215038d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clj/cheshire/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

;; alias for clojure-json users
(def encode generate-string)
(def encode-stream generate-stream)

(defn generate-smile
"Returns a SMILE-encoded byte-array for the given Clojure object."
Expand Down Expand Up @@ -65,6 +66,7 @@

;; alias for clojure-json users
(def decode parse-string)
(def decode-stream parse-stream)

(defn parse-smile
"Returns the Clojure object corresponding to the given SMILE-encoded bytes."
Expand Down

0 comments on commit 215038d

Please sign in to comment.