Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (35 sloc) 1.94 KB : JavaScript Object Notation (JSON) parser/generator for Clojure

Copyright (c) Stuart Sierra, 2011. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 ( which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.

Adding to Your Project is available in the Maven central repositories. Add it to your Maven project's pom.xml as:


or your Leiningen project.clj as:

[org.clojure/data.json "0.1.1"]

Then load it in a Clojure namespace as:

(ns your.project.namespace
  (:use [ :only (json-str write-json read-json)]))

Comparison to clojure.contrib.json

This project is the continuation of clojure.contrib.json. Versions 0.1.x are source-compatible with clojure.contrib.json, except for the name change.

Downloading and Building from Source



  • Download the source: git clone git://
  • Enter the directory: cd data.json
  • Compile, test, and install locally: mvn install

Change Log

Release 0.1.1 on 2011-07-01

Ensure that printing to *out* always uses a PrintWriter.

Release 0.1.0 on 2011-03-18

Initial release. Source-compatible with clojure.contrib.json, except for the name change.