mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
825 B
825 B
Serd is a lightweight and dependency-free C library for RDF serialisation which supports Turtle, NTriples, NQuads, and TriG.
The complete API is documented in the [serd](@ref serd) group. It revolves around two main types: @ref SerdReader, which reads text and fires callbacks, and @ref SerdWriter, which writes text when driven by corresponding functions. Both work in a streaming fashion but still support pretty-printing, so the pair can be used to pretty-print, translate, or otherwise process arbitrarily large documents very quickly. The stream context is maintained by @ref SerdEnv, which stores the current base URI and set of namespace prefixes.