# JSON-LD reader/writer
- JSON-LD][
-
reader/writer for [RDF.rb] .
## Features
JSON::LD parses and serializes [JSON-LD][] into statements or triples.
Install with ‘gem install json-ld`
## Examples
require 'rubygems'
require 'json/ld'
## Documentation Full documentation available on [RubyDoc](rubydoc.info/gems/json-ld/0.0.4/file/README)
### Principle Classes
##Dependencies
-
[Ruby](ruby-lang.org/) (>= 1.8.7) or (>= 1.8.1 with [Backports][])
-
[RDF.rb](rubygems.org/gems/rdf) (>= 0.3.3)
-
[JSON](rubygems.org/gems/json) (>= 1.5.1)
## Installation The recommended installation method is via [RubyGems](rubygems.org/). To install the latest official release of the ‘JSON-LD` gem, do:
% [sudo] gem install json-ld
## Download To get a local working copy of the development repository, do:
% git clone git://github.com/gkellogg/json-ld.git
## Mailing List
## Author
-
[Gregg Kellogg](github.com/gkellogg) - <kellogg-assoc.com/>
## Contributing
-
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.
-
Do document every method you add using [YARD][] annotations. Read the
- tutorial][YARD-GS
-
or just look at the existing code for examples.
-
Don’t touch the ‘.gemspec`, `VERSION` or `AUTHORS` 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.
-
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.
License
This is free and unencumbered public domain software. For more information, see <unlicense.org/> or the accompanying UNLICENSE file.
[Ruby]: ruby-lang.org/ [RDF]: www.w3.org/RDF/ [YARD]: yardoc.org/ [YARD-GS]: rubydoc.info/docs/yard/file/docs/GettingStarted.md [PDD]: lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html [RDF.rb]: rdf.rubyforge.org/ [Backports]: rubygems.org/gems/backports [JSON-LD]: json-ld.org/spec/ED/20110507/