1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
/*! Provides for writing a `Graph` instance in the W3C [RDF 1.1 JSON Alternate Serialization (RDF/JSON)](https://www.w3.org/TR/rdf-json/) format. */ /// The display name of this serialization format. pub const NAME: &str = "JSON"; /// The common file extension for this serialization format. pub const FILE_EXTENSION: &str = "json"; /// The MIME type used for this serialization format. pub const MIME_TYPE: &str = "application/rdf+json"; // ------------------------------------------------------------------------------------------------ // Public Types // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ // Public Functions // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ // Implementations // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ // Private Types // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ // Private Functions // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ // Modules // ------------------------------------------------------------------------------------------------ mod syntax; pub mod reader; pub mod writer;