clojure.data.json
-
Positional factory function for class clojure.data.json.ReaderPBR.
function([rdr])
Positional factory function for class clojure.data.json.StringPBR.
function([s pos len])
Print object to Appendable out as JSON
protocol-method([object out options])
C
- value
D
- value
- value
I
- function
([])
J
- value
DEPRECATED; replaced by 'write-str'. Converts x to a JSON-formatted string. Valid options are: :escape-unicode...
function([x & options])
O
Pass as :extra-data-fn to `read` or `read-str` to throw if data is found after the first object.
function([val rdr])
Pass as :extra-data-fn to `read` or `read-str` to throw if data is found after the first object and return the remaini...
function([val rdr])
P
Pretty-prints JSON representation of x to *out*. Options are the same as for write except :value-fn and :indent, which...
function([x & {:as options}])
DEPRECATED; replaced by 'pprint'. Pretty-prints JSON representation of x to *out*. Valid options are: :escape-...
function([x & options])
DEPRECATED; replaced by 'write' to *out*. Write JSON-formatted output to *out*. Valid options are: :escape-uni...
function([x & options])
R
Reads a single item of JSON data from a java.io.Reader. If you wish to repeatedly read items from the same reader, yo...
function([reader & {:as options}])
DEPRECATED; replaced by read-str. Reads one JSON value from input String or Reader. If keywordize? is true (default...
function([input] [input keywordize?] [input keywordize? eof-error? eof-value])
Reads one JSON value from input String. Options are the same as for read.
function([string & {:as options}])
W
Write JSON-formatted output to a java.io.Writer. Options are key-value pairs, valid options are: :escape-unicode...
function([x writer & {:as options}])
DEPRECATED; replaced by 'write'. Print object to PrintWriter out as JSON
function([x out escape-unicode?])
Converts x to a JSON-formatted string. Options are the same as write.
function([x & {:as options}])