Module sophia::serializers::nt

source ·
Expand description

Serializer for the N-Triples concrete syntax of RDF.

Important: the methods in this module accepting a Write make no effort to minimize the number of write operations. Hence, in most cased, they should be passed a BufWriter.

Structs

NT serializer configuration.
A TripleSink returned by Config::stringifier

Functions

Shortcut for Config::default().stringifier()
Stringifies a single RDF term using the NT syntax.
Write a single RDF term into w using the NT syntax.
Shortcut for Config::default().writer(write)