RDF.Serialization.format_by_media_type
You're seeing just the function
format_by_media_type
, go back to RDF.Serialization module for more information.
Specs
Returns the RDF.Serialization.Format
with the given media type, if available.
Examples
iex> RDF.Serialization.format_by_media_type("text/turtle")
RDF.Turtle
iex> RDF.Serialization.format_by_media_type("application/ld+json")
nil # unless json_ld is defined as a dependency of the application