[][src]Module sophia::serializer

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.

TripleWriter and TripleStringifier are specializations of TripleSink. QuadWriter and QuadStringifier are specializations of QuadSink.

Modules

common

Reusable types, functions and macros for implementing serializers.

nq

Serializer for the N-Quads concrete syntax of RDF.

nt

Serializer for the N-Triples concrete syntax of RDF.

Traits

QuadStringifier

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

QuadWriter

An extension of the QuadSink trait, dedicated to serialization to IO streams.

TripleStringifier

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

TripleWriter

An extension of the TripleSink trait, dedicated to serialization to IO streams.