diff options
author | Tom Faulhaber <git_net@infolace.com> | 2010-06-02 10:37:21 -0700 |
---|---|---|
committer | Tom Faulhaber <git_net@infolace.com> | 2010-06-02 10:37:21 -0700 |
commit | b9907dc35b12f46c584f426aacc61b4375f9ea8c (patch) | |
tree | 44ff032954e524248911e15bd55316513fa04cc2 /json-api.html | |
parent | 7a8e827f2e15566dcdf72e01bebfb28360adeea4 (diff) |
Autodoc commit for master/4fe738db, 1.1.x/d132c5f1
Diffstat (limited to 'json-api.html')
-rw-r--r-- | json-api.html | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/json-api.html b/json-api.html index a906b272..57b1a461 100644 --- a/json-api.html +++ b/json-api.html @@ -61,6 +61,10 @@ namespace. <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> + </div><div style="margin-left: 1em;" class="toc-entry"> + <a href="#clojure.contrib.json/write-json">write-json</a> </div> <br /> </div> @@ -93,7 +97,7 @@ To read JSON, use read-json.</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 /> @@ -104,7 +108,7 @@ To read JSON, use read-json.</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 /> @@ -115,7 +119,7 @@ To read JSON, use read-json.</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 /> @@ -131,7 +135,32 @@ 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 id="var-entry"> + <br /> + <hr /> + <h2 id="clojure.contrib.json/read-json-from">read-json-from</h2> + <span id="var-type">function</span><br /> + <pre id="var-usage">Usage: (read-json-from input keywordize? eof-error? eof-value) +</pre> + <pre id="var-docstr">Reads one JSON value from input String or Reader. +If keywordize? is true, object keys will be converted to keywords. +If eof-error? is true, empty input will throw an EOFException; if +false EOF will return eof-value. </pre> + + + +</div><div id="var-entry"> + <br /> + <hr /> + <h2 id="clojure.contrib.json/write-json">write-json</h2> + <span id="var-type">function</span><br /> + <pre id="var-usage">Usage: (write-json object out) +</pre> + <pre id="var-docstr">Print object to PrintWriter out as JSON</pre> + + + </div> |