Skip to content
[merged into the "json" gem; this repo is discontinued] Java port of the json gem, for JRuby
Ruby Java
Find file
Failed to load latest commit information.
nbproject Merge branch 'v1.2'
src/json/ext Java: keep track of depth correctly
.classpath Added JRuby to project
.gitattributes Added gitattributes file for better hunk-headers
.gitignore Removed autogenerated from repository
COPYING Minor tweaks in copyright notices
GPL Adding licensing information
VERSION prepare new version
build.xml ByteListReader promoted into ByteListTranscoder, centralizing the wri…
json-jruby.gemspec Updated gem specification descriptions and addresses
run-tests run-tests: allow additional jruby args



JSON-JRuby is a port of Florian Frank's native json library to JRuby. It aims to be a perfect drop-in replacement for json_pure.

Development version

The latest version is available from the Git repository:

git clone git://


You'll need JRuby version 1.2 or greater to build JSON-JRuby. Its path must be set on the jruby.dir property of nbproject/ (defaults to ../jruby).

Additionally, you'll need Ant, and Ragel 6.4 or greater.

Then, from the folder where the sources are located, type:

ant clean jar

to clean any leftovers from previous builds and generate the .jar files. To generate a RubyGem, specify the gem action rather than jar.

Something went wrong with that request. Please try again.