File: README-json-jruby.md

package info (click to toggle)
ruby-json 2.9.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,616 kB
  • sloc: ansic: 4,201; java: 3,457; ruby: 3,343; sh: 22; makefile: 11
file content (32 lines) | stat: -rw-r--r-- 865 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
JSON-JRuby
==========

JSON-JRuby is a port of Florian Frank's native
[`json` library](http://json.rubyforge.org/) to JRuby.


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.colm.net/open-source/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`.