Skip to main content

read-json

function

clojure.data.json/read-json

(read-json [input] [input keywordize?] [input keywordize? eof-error? eof-value])
DEPRECATED; replaced by read-str. Reads one JSON value from input String or Reader. If keywordize? is true (default), object keys will be converted to keywords. If eof-error? is true (default), empty input will throw an EOFException; if false EOF will return eof-value.

No examples yet. Be the first to add one!

Categories