RDF.Serialization.write_string
You're seeing just the function
write_string
, go back to RDF.Serialization module for more information.
Specs
write_string(RDF.Data.t(), keyword()) :: {:ok, String.t()} | {:error, any()}
Serializes a RDF data structure to a string.
It returns an {:ok, string}
tuple, with string
being the serialized graph or
dataset, or {:error, reason}
if an error occurs.
The format must be specified with the format
option and a format name or the
media_type
option and the media type of the format.
Please refer to the documentation of the encoder of a RDF serialization format for format-specific options.