diff options
author | David Robillard <d@drobilla.net> | 2023-04-01 19:20:23 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | c9afaab2a84f592e4567b37b3551511381e734e4 (patch) | |
tree | 414c77e7b41c222e9237d76add5c1c4944079ebd /include | |
parent | 3cc5a4fcaea8f1e2fd47c53135b53f8edcb8619d (diff) | |
download | serd-c9afaab2a84f592e4567b37b3551511381e734e4.tar.gz serd-c9afaab2a84f592e4567b37b3551511381e734e4.tar.bz2 serd-c9afaab2a84f592e4567b37b3551511381e734e4.zip |
Add "longhand" mode to write rdf:type predicates normally
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/writer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/serd/writer.h b/include/serd/writer.h index 91baa7e8..5e8f5e6e 100644 --- a/include/serd/writer.h +++ b/include/serd/writer.h @@ -80,6 +80,13 @@ typedef enum { carefully, since it can result in data loss. */ SERD_WRITE_LAX = 1U << 4U, + + /** + Write rdf:type as a normal predicate. + + This disables the special "a" syntax in Turtle and TriG. + */ + SERD_WRITE_LONGHAND = 1U << 5U, } SerdWriterFlag; /// Bitwise OR of #SerdWriterFlag values |