[−][src]Module sophia::serializers
Serializers for standard RDF syntaxes, and tools for building new serializers.
Uniform interface
Each serializer module defines a Config
type, that
- implements
Default
, - has a
writer
method taking anyio::Write
and returning aWriteSerializer
, - has a
stringifier
method returning aStringSerializer
.
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
common | Reusable types, functions and macros for implementing serializers. |
nt | Serializer for the N-Triples concrete syntax of RDF. |
Traits
StringSerializer | An extension of the |
WriteSerializer | An extension of the |