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.
Link to this function

format_by_media_type(media_type)

View Source

Specs

format_by_media_type(String.t()) :: format() | nil

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