module RDF::JSON::Extensions::Node

RDF/JSON extensions for ‘RDF::Node`.

Public Instance Methods

to_rdf_json() click to toggle source

Returns the RDF/JSON representation of this blank node.

@return [Hash]

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