Module sophia::serializers

source ·
Expand description

Serializers for standard RDF syntaxes, and tools for building new serializers.

Uniform interface

Each serializer module defines a Config type, that

Each serializer module also provides two functions writer and a stringifier, calling the corresponding methods from the default Config.

WriteSerializer and StringSerializer are specializations of TripleSink.

Modules

Reusable types, functions and macros for implementing serializers.
Serializer for the N-Triples concrete syntax of RDF.

Traits

An extension of the TripleSink trait, dedicated to serialization to strings, with methods more explicitly named.
An extension of the TripleSink trait, dedicated to serialization to IO streams.