Module: RDF
- Defined in:
- lib/rdf/serializers/renderers.rb,
lib/rdf/serializers.rb,
lib/rdf/serializers/config.rb,
lib/rdf/serializers/scalar.rb,
lib/rdf/serializers/lookup_chain.rb,
lib/rdf/serializers/relationship.rb,
lib/rdf/serializers/hdnjson_parser.rb,
lib/rdf/serializers/nil_serializer.rb,
lib/rdf/serializers/list_serializer.rb,
lib/rdf/serializers/data_type_helper.rb,
lib/rdf/serializers/object_serializer.rb,
lib/rdf/serializers/serialization_core.rb,
lib/rdf/serializers/hextuple_serializer.rb
Overview
Registers the N-Triples renderer
And then in controllers, use ‘render nt: model`.
For example, in a controller action, we can: respond_to do |format|
format.nt { render nt: model }
end
Defined Under Namespace
Modules: Serializers