module RDF::JSON::Extensions::URI

RDF/JSON extensions for `RDF::URI`.

Public Instance Methods

to_rdf_json() click to toggle source

Returns the RDF/JSON representation of this URI reference.

@return [Hash]

# File lib/rdf/json/extensions.rb, line 61
def to_rdf_json
  {:type => :uri, :value => to_s}
end