class RDF::JSON::Format
RDF/JSON format specification.
@example Loading RDF/JSON format support
require 'rdf/json'
@example Obtaining an RDF/JSON format class
RDF::Format.for(:rj) #=> RDF::JSON::Format RDF::Format.for("etc/doap.rj") RDF::Format.for(:file_name => "etc/doap.rj") RDF::Format.for(:file_extension => "rj") RDF::Format.for(:content_type => "application/rdf+json")
Public Class Methods
to_sym()
click to toggle source
Override normal symbol generation
# File lib/rdf/json/format.rb, line 27 def self.to_sym :rj end