RDF.Serialization.Decoder.decode

You're seeing just the callback decode, go back to RDF.Serialization.Decoder module for more information.

Specs

decode(String.t(), keyword()) ::
  {:ok, RDF.Graph.t() | RDF.Dataset.t()} | {:error, any()}

Decodes a serialized RDF.Graph or RDF.Dataset from a string.

It returns an {:ok, data} tuple, with data being the deserialized graph or dataset, or {:error, reason} if an error occurs.