
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
You need rake to build the extensions and install them.
You can get it from rubyforge: http://rubyforge.org/projects/rake
or just type
for the installation via rubygems.
If you want to rebuild the parser.c file or draw nice graphviz images of the state machines, you need ragel from: http://www.cs.queensu.ca/~thurston/ragel
It's recommended to use the extension variant of JSON, because it's quite a bit faster than the pure ruby variant. If you cannot build it on your system, you can settle for the latter.
Just type into the command line as root:
The above command will build the extensions and install them on your system.
or
will just install the pure ruby implementation of JSON.
If you use Rubygems you can type
instead, to install the newest JSON version.
There is also a pure ruby json only variant of the gem, that can be installed with:
To run the tests type:
$ rake test_ext
This will build the extensions first and then test them.
$ rake test_pure
This will test the pure ruby extensions.
There is also a small example in tools/server.rb if you want to see, how receiving a JSON object from a webrick server in your browser with the javasript prototype library (http://www.prototypejs.org) works.
Florian Frank flori@ping.de
Ruby License, see the RUBY file included in the source distribution. The Ruby License includes the GNU General Public License (GPL), Version 2, so see the file GPL as well.
FAQs
Unknown package
We found that genki-json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.