Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 181 lines (162 sloc) 12.978 kb
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
1 <html>
2 <head>
f9f9c924 » tomfaulhaber
2010-07-27 Autodoc commit for 1.2.x/25d33167, master/e7930c85, 1.1.x/d132c5f1
3 <title>json - clojure-contrib v1.2 API documentation</title>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
4 <link href="static/favicon.png" rel="icon" />
5 <link href="static/favicon.png" rel="shortcut icon" />
6 <link media="all" type="text/css" href="static/clojure.css" rel="stylesheet" />
7 <link media="all" type="text/css" href="static/wiki.css" rel="stylesheet" />
8 <link media="all" type="text/css" href="static/internal.css" rel="stylesheet" />
9 <style>.menuWrapper{height: 36px;}</style>
10 <!--[if lte IE 6]>
11 <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" />
12 <![endif]-->
13 </head>
14 <!--
15 This document was auto-generated from the source by the clojure autodoc system.
16 To report errors or ask questions about the overall documentation structure, formatting,
17 etc., contact Tom Faulhaber (google mail name: tomfaulhaber).
18 For errors in the documentation of a particular namespace, contact the author of that
19 namespace.
20 -->
21 <body>
22 <div id="AllContentContainer">
23 <div id="Header">
24 <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="static/clojure-icon.gif" /></a>
25 <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1>
26 </div>
27 <div id="leftcolumn"><div style="text-align: center;"></div>
28 <div class="menu">
29 <div class="WikiCustomNav WikiElement wiki">
f9f9c924 » tomfaulhaber
2010-07-27 Autodoc commit for 1.2.x/25d33167, master/e7930c85, 1.1.x/d132c5f1
30 <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">v1.2</span> API</span><br />
31 <ul>
32 <li><a class="wiki_link" href="index.html">Overview</a></li>
33 <li><a class="wiki_link" href="api-index.html">API Index</a></li>
34 </ul>
35 <span class="toc-header">Namespaces</span>
36 <ul id="left-sidebar-list">
37 <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li>
38 </ul>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
39 <div class="BranchTOC">
f9f9c924 » tomfaulhaber
2010-07-27 Autodoc commit for 1.2.x/25d33167, master/e7930c85, 1.1.x/d132c5f1
40 <span class="toc-header">Other Versions</span>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
41 <ul id="left-sidebar-branch-list">
c3963458 » tomfaulhaber
2010-09-28 Autodoc commit for 1.2.x/e4ea06c9, master/39c38227, 1.1.x/d132c5f1
42 <li><a href="branch-master/index.html" class="wiki_link">v1.3 (in development)</a></li><li><a href="branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
43 </ul>
44 </div>
f9f9c924 » tomfaulhaber
2010-07-27 Autodoc commit for 1.2.x/25d33167, master/e7930c85, 1.1.x/d132c5f1
45 <a href="http://clojure.org" class="wiki_link">Clojure Home</a>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
46 </div>
47 </div>
48 </div>
49 <div id="rightcolumn">
50 <div id="Content">
51 <div class="contentBox"><div class="innerContentBox">
52 <div id="content_view" class="wiki wikiPage">
53 <div id="right-sidebar"><div id="toc">
54 <h1 class="nopad">Table of Contents</h1>
55 <div style="margin-left: 1em;" class="toc-section">
56 <a href="#toc0">Overview</a>
92bacc26 » tomfaulhaber
2010-07-23 Autodoc commit for master/29a94caf, 1.1.x/d132c5f1
57 <div style="margin-left: 1em;" class="toc-entry">
58 <a href="#clojure.contrib.json/json-str">json-str</a>
59 </div><div style="margin-left: 1em;" class="toc-entry">
60 <a href="#clojure.contrib.json/pprint-json">pprint-json</a>
61 </div><div style="margin-left: 1em;" class="toc-entry">
62 <a href="#clojure.contrib.json/print-json">print-json</a>
63 </div><div style="margin-left: 1em;" class="toc-entry">
64 <a href="#clojure.contrib.json/read-json">read-json</a>
65 </div><div style="margin-left: 1em;" class="toc-entry">
66 <a href="#clojure.contrib.json/read-json-from">read-json-from</a>
67 </div><div style="margin-left: 1em;" class="toc-entry">
68 <a href="#clojure.contrib.json/write-json">write-json</a>
69 </div>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
70 <br />
71 </div>
72 </div>
73 </div>
74 <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">json</span>
d71a52d6 » tomfaulhaber
2010-08-25 Autodoc commit for 1.2.x/e4ea06c9, master/b0f2e778, 1.1.x/d132c5f1
75 - <span id="header-project">clojure-contrib</span> <span id="header-version">v1.2</span> (<span id="header-status">stable</span>)
f9f9c924 » tomfaulhaber
2010-07-27 Autodoc commit for 1.2.x/25d33167, master/e7930c85, 1.1.x/d132c5f1
76 </h1>
29b74eba » tomfaulhaber
2010-07-18 Autodoc commit for master/18c87137, 1.1.x/d132c5f1
77 <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span>
d210bb22 » tomfaulhaber
2010-11-27 Autodoc commit for 1.2.x/e4ea06c9, master/37fba7ef, 1.1.x/d132c5f1
78 <br />Full namespace name: <span id="long-name">clojure.contrib.json</span>
79 <p></p>
80 <h2>Overview</h2>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
81 <pre id="namespace-docstr">JavaScript Object Notation (JSON) parser/writer.
29b74eba » tomfaulhaber
2010-07-18 Autodoc commit for master/18c87137, 1.1.x/d132c5f1
82 See <a href="http://www.json.org/">http://www.json.org/</a>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
83 To write JSON, use json-str, write-json, or write-json.
84 To read JSON, use read-json.</pre>
4a3f270f » tomfaulhaber
2010-04-30 Manual autodoc update (mostly whitespace diffs caused by new tags, no…
85
86
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
87 <br />
88 <h2>Public Variables and Functions</h2>
92bacc26 » tomfaulhaber
2010-07-23 Autodoc commit for master/29a94caf, 1.1.x/d132c5f1
89 <div id="var-entry">
90 <br />
91 <hr />
92 <h2 id="clojure.contrib.json/json-str">json-str</h2>
93 <span id="var-type">function</span><br />
94 <pre id="var-usage">Usage: (json-str x)
95 </pre>
96 <pre id="var-docstr">Converts x to a JSON-formatted string.</pre>
97
98
dc17990a » tomfaulhaber
2010-12-26 Autodoc commit for 1.2.x/e4ea06c9, master/1068a72b, 1.1.x/d132c5f1
99 <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/json.clj#L301" id="var-source">Source</a>
92bacc26 » tomfaulhaber
2010-07-23 Autodoc commit for master/29a94caf, 1.1.x/d132c5f1
100 </div><div id="var-entry">
101 <br />
102 <hr />
103 <h2 id="clojure.contrib.json/pprint-json">pprint-json</h2>
104 <span id="var-type">function</span><br />
105 <pre id="var-usage">Usage: (pprint-json x)
106 </pre>
107 <pre id="var-docstr">Pretty-prints JSON representation of x to *out*</pre>
108
109
dc17990a » tomfaulhaber
2010-12-26 Autodoc commit for 1.2.x/e4ea06c9, master/1068a72b, 1.1.x/d132c5f1
110 <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/json.clj#L338" id="var-source">Source</a>
92bacc26 » tomfaulhaber
2010-07-23 Autodoc commit for master/29a94caf, 1.1.x/d132c5f1
111 </div><div id="var-entry">
112 <br />
113 <hr />
114 <h2 id="clojure.contrib.json/print-json">print-json</h2>
115 <span id="var-type">function</span><br />
116 <pre id="var-usage">Usage: (print-json x)
117 </pre>
118 <pre id="var-docstr">Write JSON-formatted output to *out*</pre>
119
120
dc17990a » tomfaulhaber
2010-12-26 Autodoc commit for 1.2.x/e4ea06c9, master/1068a72b, 1.1.x/d132c5f1
121 <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/json.clj#L309" id="var-source">Source</a>
92bacc26 » tomfaulhaber
2010-07-23 Autodoc commit for master/29a94caf, 1.1.x/d132c5f1
122 </div><div id="var-entry">
123 <br />
124 <hr />
125 <h2 id="clojure.contrib.json/read-json">read-json</h2>
126 <span id="var-type">function</span><br />
127 <pre id="var-usage">Usage: (read-json input)
128 (read-json input keywordize?)
129 (read-json input keywordize? eof-error? eof-value)
130 </pre>
131 <pre id="var-docstr">Reads one JSON value from input String or Reader.
132 If keywordize? is true (default), object keys will be converted to
133 keywords. If eof-error? is true (default), empty input will throw
134 an EOFException; if false EOF will return eof-value. </pre>
135
136
dc17990a » tomfaulhaber
2010-12-26 Autodoc commit for 1.2.x/e4ea06c9, master/1068a72b, 1.1.x/d132c5f1
137 <a href="https://github.com/clojure/clojure-contrib/blob/b8d2743d3a89e13fc9deb2844ca2167b34aaa9b6/src/main/clojure/clojure/contrib/json.clj#L189" id="var-source">Source</a>
92bacc26 » tomfaulhaber
2010-07-23 Autodoc commit for master/29a94caf, 1.1.x/d132c5f1
138 </div><div id="var-entry">
139 <br />
140 <hr />
141 <h2 id="clojure.contrib.json/read-json-from">read-json-from</h2>
142 <span id="var-type">function</span><br />
143 <pre id="var-usage">Usage: (read-json-from input keywordize? eof-error? eof-value)
144 </pre>
145 <pre id="var-docstr">Reads one JSON value from input String or Reader.
146 If keywordize? is true, object keys will be converted to keywords.
147 If eof-error? is true, empty input will throw an EOFException; if
148 false EOF will return eof-value. </pre>
149
150
151
152 </div><div id="var-entry">
153 <br />
154 <hr />
155 <h2 id="clojure.contrib.json/write-json">write-json</h2>
156 <span id="var-type">function</span><br />
157 <pre id="var-usage">Usage: (write-json object out)
158 </pre>
159 <pre id="var-docstr">Print object to PrintWriter out as JSON</pre>
160
161
162
163 </div>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
164
165
166 </div>
167 </div>
168 </div>
169 </div>
170 </div>
171 <div id="foot">
b1a08104 » tomfaulhaber
2010-08-25 Autodoc commit for 1.2.x/e4ea06c9, master/b0f2e778, 1.1.x/d132c5f1
172 <div style="text-align: center;" id="copyright">Copyright 2007-2010 by Rich Hickey and the various contributors</div>
78b132ed » tomfaulhaber
2010-02-19 Document the latest branches, et al., in clojure-contrib. Supporting …
173 </div>
174 </div>
175 <div id="DesignedBy">Logo &amp; site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br />
176 Clojure auto-documentation system by Tom Faulhaber.</div>
177 </div>
178 <!-- /AllContentContainer -->
179 </body>
180
181 </html>
Something went wrong with that request. Please try again.