RDF.NQuads.Encoder behaviour (RDF.ex v0.9.2) View Source

An encoder for N-Quads serializations of RDF.ex data structures.

As for all encoders of RDF.Serialization.Formats, you normally won't use these functions directly, but via one of the write_ functions on the RDF.NQuads format module or the generic RDF.Serialization module.

Link to this section Summary

Link to this section Functions

Link to this section Callbacks

Specs

encode(RDF.Data.t(), keyword()) :: {:ok, String.t()} | {:error, any()}