Skip to main content

encode-stream

function

cheshire.core/encode-stream

(encode-stream [obj writer] [obj writer opt-map])
Returns a BufferedWriter for the given Clojure object with the JSON-encoded data written to the writer. Takes an optional date format string that Date objects will be encoded with. The default date format (in UTC) is: yyyy-MM-dd'T'HH:mm:ss'Z'

No examples yet. Be the first to add one!

Categories