diff options
Diffstat (limited to 'branch-master/json-api.html')
-rw-r--r-- | branch-master/json-api.html | 53 |
1 files changed, 52 insertions, 1 deletions
diff --git a/branch-master/json-api.html b/branch-master/json-api.html index 527d72ef..6b1ab1ce 100644 --- a/branch-master/json-api.html +++ b/branch-master/json-api.html @@ -58,6 +58,12 @@ namespace. <div style="margin-left: 1em;" class="toc-section"> <a href="#toc0">Overview</a> <div style="margin-left: 1em;" class="toc-entry"> + <a href="#clojure.contrib.json/json-str">json-str</a> + </div><div style="margin-left: 1em;" class="toc-entry"> + <a href="#clojure.contrib.json/pprint-json">pprint-json</a> + </div><div style="margin-left: 1em;" class="toc-entry"> + <a href="#clojure.contrib.json/print-json">print-json</a> + </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#clojure.contrib.json/read-json">read-json</a> </div><div style="margin-left: 1em;" class="toc-entry"> <a href="#clojure.contrib.json/read-json-from">read-json-from</a> @@ -86,6 +92,51 @@ To read JSON, use read-json.</pre> <div id="var-entry"> <br /> <hr /> + <h2 id="clojure.contrib.json/json-str">json-str</h2> + <span id="var-type">function</span><br /> + <pre id="var-usage">Usage: (json-str x & options) +</pre> + <pre id="var-docstr">Converts x to a JSON-formatted string. + +Valid options are: + :escape-unicode false + to turn of \uXXXX escapes of Unicode characters.</pre> + + + <a href="http://github.com/clojure/clojure-contrib/blob/01036ea181b979b5ff190f2eb44c2bf3ca9e1c3b/modules/json/src/main/clojure/clojure/contrib/json.clj#L305" id="var-source">Source</a> +</div><div id="var-entry"> + <br /> + <hr /> + <h2 id="clojure.contrib.json/pprint-json">pprint-json</h2> + <span id="var-type">function</span><br /> + <pre id="var-usage">Usage: (pprint-json x & options) +</pre> + <pre id="var-docstr">Pretty-prints JSON representation of x to *out*. + +Valid options are: + :escape-unicode false + to turn off \uXXXX escapes of Unicode characters.</pre> + + + <a href="http://github.com/clojure/clojure-contrib/blob/01036ea181b979b5ff190f2eb44c2bf3ca9e1c3b/modules/json/src/main/clojure/clojure/contrib/json.clj#L352" id="var-source">Source</a> +</div><div id="var-entry"> + <br /> + <hr /> + <h2 id="clojure.contrib.json/print-json">print-json</h2> + <span id="var-type">function</span><br /> + <pre id="var-usage">Usage: (print-json x & options) +</pre> + <pre id="var-docstr">Write JSON-formatted output to *out*. + +Valid options are: + :escape-unicode false + to turn off \uXXXX escapes of Unicode characters.</pre> + + + <a href="http://github.com/clojure/clojure-contrib/blob/01036ea181b979b5ff190f2eb44c2bf3ca9e1c3b/modules/json/src/main/clojure/clojure/contrib/json.clj#L318" id="var-source">Source</a> +</div><div id="var-entry"> + <br /> + <hr /> <h2 id="clojure.contrib.json/read-json">read-json</h2> <span id="var-type">function</span><br /> <pre id="var-usage">Usage: (read-json input) @@ -98,7 +149,7 @@ keywords. If eof-error? is true (default), empty input will throw an EOFException; if false EOF will return eof-value. </pre> - <a href="http://github.com/clojure/clojure-contrib/blob/82c7d49ac23ff2b32490319e458ad535b01e7a41/modules/json/src/main/clojure/clojure/contrib/json.clj#L186" id="var-source">Source</a> + <a href="http://github.com/clojure/clojure-contrib/blob/01036ea181b979b5ff190f2eb44c2bf3ca9e1c3b/modules/json/src/main/clojure/clojure/contrib/json.clj#L186" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> |