Skip to main content

parsed-seq

function

cheshire.core/parsed-seq

(parsed-seq [reader] [reader key-fn] [reader key-fn array-coerce-fn])
Returns a lazy seq of Clojure objects corresponding to the JSON read from the given reader. The seq continues until the end of the reader 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. If non-laziness is needed, see parse-stream.

No examples yet. Be the first to add one!

Categories