RDF/JSON Support for RDF.rb

This is an RDF.rb extension that adds support for parsing/serializing RDF/JSON, a simple JSON-based RDF serialization format.

Gem Version Build Status Coverage Status Gitter chat



Change Log

See Release Notes on GitHub


The recommended installation method is via RubyGems. To install the latest official release of the RDF::JSON gem, do:

% [sudo] gem install rdf-json


To get a local working copy of the development repository, do:

% git clone git://github.com/ruby-rdf/rdf-json.git

Alternatively, download the latest development version as a tarball as follows:

% wget http://github.com/ruby-rdf/rdf-json/tarball/master

Mailing List



Refer to the accompanying CREDITS file.


This repository uses Git Flow to mange development and release activity. All submissions must be on a feature branch based on the develop branch to ease staging and integration.

  • Do your best to adhere to the existing coding conventions and idioms.
  • Don't use hard tabs, and don't leave trailing whitespace on any line. Before committing, run git diff --check to make sure of this.
  • Do document every method you add using YARD annotations. Read the tutorial or just look at the existing code for examples.
  • Don't touch the .gemspec or VERSION files. If you need to change them, do so on your private branch only.
  • Do feel free to add yourself to the CREDITS file and the corresponding list in the the README. Alphabetical order applies.
  • Don't touch the AUTHORS file. If your contributions are significant enough, be assured we will eventually add you in there.
  • Do note that in order for us to merge any non-trivial changes (as a rule of thumb, additions larger than about 15 lines of code), we need an explicit public domain dedication on record from you, which you will be asked to agree to on the first commit to a repo within the organization. Note that the agreement applies to all repos in the Ruby RDF organization.


This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.