diff options
author | Tom Faulhaber <git_net@infolace.com> | 2010-04-20 00:15:49 -0700 |
---|---|---|
committer | Tom Faulhaber <git_net@infolace.com> | 2010-04-20 00:15:49 -0700 |
commit | 338e32c855fdd2afb385565c7c6109bf42527c6e (patch) | |
tree | 0d71257a5edcf442b4a9f8174184ad64c480080d /json-api.html | |
parent | e8fe1760dbc77809b2285e9ecc32f0489bcf398d (diff) |
Various fixes for pages that depended on gen-class'ed stuff
Diffstat (limited to 'json-api.html')
-rw-r--r-- | json-api.html | 53 |
1 files changed, 51 insertions, 2 deletions
diff --git a/json-api.html b/json-api.html index dc901694..70518193 100644 --- a/json-api.html +++ b/json-api.html @@ -53,7 +53,15 @@ namespace. <h1 class="nopad">Table of Contents</h1> <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> <br /> </div> </div> @@ -73,7 +81,48 @@ To write JSON, use json-str, write-json, or write-json. To read JSON, use read-json.</pre> <br /> <h2>Public Variables and Functions</h2> - +<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) +</pre> + <pre id="var-docstr">Converts x to a JSON-formatted string.</pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/1e3333335334139669fb1e859fb0c3cb77b968df/src/main/clojure/clojure/contrib/json.clj#L301" 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) +</pre> + <pre id="var-docstr">Pretty-prints JSON representation of x to *out*</pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/1e3333335334139669fb1e859fb0c3cb77b968df/src/main/clojure/clojure/contrib/json.clj#L338" 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) +</pre> + <pre id="var-docstr">Write JSON-formatted output to *out*</pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/1e3333335334139669fb1e859fb0c3cb77b968df/src/main/clojure/clojure/contrib/json.clj#L309" 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) + (read-json input keywordize?) + (read-json input keywordize? eof-error? eof-value) +</pre> + <pre id="var-docstr">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. </pre> + <a href="http://github.com/richhickey/clojure-contrib/blob/1e3333335334139669fb1e859fb0c3cb77b968df/src/main/clojure/clojure/contrib/json.clj#L189" id="var-source">Source</a> +</div> </div> |