Skip to main content

parse-string-strict

function

cheshire.core/parse-string-strict

(parse-string-strict [string] [string key-fn] [string key-fn array-coerce-fn])
Returns the Clojure object corresponding to the given JSON-encoded string. 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. Does not lazily parse top-level arrays.

No examples yet. Be the first to add one!

Categories