Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 91 lines (55 sloc) 2.647 kb
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
1 clojure.data.json
2 ========================================
3
4 JSON parser/generator to/from Clojure data structures.
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
5
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
6 Follows the specification on http://json.org/
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
7
8
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
9
10 Releases and Dependency Information
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
11 ========================================
12
cdd59a8 @stuartsierra Update README with latest release info & link to API docs
stuartsierra authored
13 Latest stable release: 0.1.3
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
14
15 * [All Released Versions](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22data.json%22)
16
17 * [Development Snapshot Versions](https://oss.sonatype.org/index.html#nexus-search;gav~org.clojure~data.json~~~)
18
19 [Leiningen](https://github.com/technomancy/leiningen) dependency information:
20
cdd59a8 @stuartsierra Update README with latest release info & link to API docs
stuartsierra authored
21 [org.clojure/data.json "0.1.3"]
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
22
23 [Maven](http://maven.apache.org/) dependency information:
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
24
25 <dependency>
26 <groupId>org.clojure</groupId>
27 <artifactId>data.json</artifactId>
cdd59a8 @stuartsierra Update README with latest release info & link to API docs
stuartsierra authored
28 <version>0.1.3</version>
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
29 </dependency>
30
31
32
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
33 Example Usage
34 ========================================
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
35
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
36 (use '[clojure.data.json :only (read-json json-str)])
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
37
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
38 (json-str {:a [1 2 3], :b "Hello"})
39 ;;=> "{\"a\":[1,2,3],\"b\":\"Hello\"}"
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
40
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
41 (read-json "{\"a\":[1,2,3],\"b\":\"Hello\"}")
42 ;;=> {:a [1 2 3], :b "Hello"}
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
43
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
44 Refer to docstrings in the `clojure.data.json` namespace for
45 additional documentation.
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
46
cdd59a8 @stuartsierra Update README with latest release info & link to API docs
stuartsierra authored
47 [API Documentation](http://clojure.github.com/data.json/)
48
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
49
50
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
51 Developer Information
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
52 ========================================
53
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
54 * [GitHub project](https://github.com/clojure/data.json)
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
55
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
56 * [Bug Tracker](http://dev.clojure.org/jira/browse/DJSON)
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
57
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
58 * [Continuous Integration](http://build.clojure.org/job/data.json/)
59
60 * [Compatibility Test Matrix](http://build.clojure.org/job/data.json-test-matrix/)
9eb6de0 @stuartsierra Initial commit; new project adapted from clojure.contrib.json
stuartsierra authored
61
d074ca5 @stuartsierra Update README with latest release number and changes log
stuartsierra authored
62
63
64 Change Log
65 ====================
66
cdd59a8 @stuartsierra Update README with latest release info & link to API docs
stuartsierra authored
67 * Release 0.1.3 on 2012-03-09
68 * Fix writing strings containing characters outside the BMP
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
69 * Release 0.1.2 on 2011-10-14
70 * Better parsing of hexadecimal character escapes
71 * Fix EOF-handling bug
72 * Fix reflection warnings [DJSON-1](http://dev.clojure.org/jira/browse/DJSON-1)
73 * Release 0.1.1 on 2011-07-01
74 * Ensure that printing to `*out*` always uses a PrintWriter.
75 * Release 0.1.0 on 2011-03-18
76 * Initial release.
77 * Source-compatible with clojure.contrib.json, except for the name change.
78
d074ca5 @stuartsierra Update README with latest release number and changes log
stuartsierra authored
79
80
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
81 Copyright and License
82 ========================================
d074ca5 @stuartsierra Update README with latest release number and changes log
stuartsierra authored
83
11a9bfc @stuartsierra Update README and namespace docstring
stuartsierra authored
84 Copyright (c) Stuart Sierra, 2012. All rights reserved. The use and
85 distribution terms for this software are covered by the Eclipse Public
86 License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can
87 be found in the file epl-v10.html at the root of this distribution.
88 By using this software in any fashion, you are agreeing to be bound by
89 the terms of this license. You must not remove this notice, or any
90 other, from this software.
Something went wrong with that request. Please try again.