summaryrefslogtreecommitdiff
path: root/README-json-jruby.markdown
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2010-08-03 12:21:11 -0500
committerCharles Oliver Nutter <headius@headius.com>2010-08-03 12:21:11 -0500
commit2288d74466463d34a5054ef413e099c850cd832b (patch)
tree76db71c439f26b5c3b7e60fb15178a2bce92c2fb /README-json-jruby.markdown
parent6ebee56297dfd9c380f8f8fb6c0b8bb5254901b7 (diff)
downloadjson-2288d74466463d34a5054ef413e099c850cd832b.tar.gz
Merge JRuby-compatible extension into json proper.
Diffstat (limited to 'README-json-jruby.markdown')
-rw-r--r--README-json-jruby.markdown33
1 files changed, 33 insertions, 0 deletions
diff --git a/README-json-jruby.markdown b/README-json-jruby.markdown
new file mode 100644
index 0000000..1336837
--- /dev/null
+++ b/README-json-jruby.markdown
@@ -0,0 +1,33 @@
+JSON-JRuby
+==========
+
+JSON-JRuby is a port of Florian Frank's native
+[`json` library](http://json.rubyforge.org/) 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](http://github.com/mernen/json-jruby/tree):
+
+ git clone git://github.com/mernen/json-jruby.git
+
+
+Compiling
+=========
+
+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/project.properties` (defaults to `../jruby`).
+
+Additionally, you'll need [Ant](http://ant.apache.org/), and
+[Ragel](http://www.cs.queensu.ca/~thurston/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`.