parse-stream
function
cheshire.core/parse-stream
(parse-stream [rdr] [rdr key-fn] [rdr key-fn array-coerce-fn])Returns the Clojure object corresponding to the given reader, reader must
implement BufferedReader. An optional key-fn argument can be either true (to
coerce keys to keywords),false to leave them as strings, or a function to
provide custom coercion.
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 the top-level object is an array, it will be parsed lazily (use
`parse-strict' if strict parsing is required for top-level arrays.
If multiple objects (enclosed in a top-level `{}' need to be parsed lazily,
see parsed-seq.
Examples
No examples yet. Be the first to add one!