Skip to main content

Crate rdf_writer_jsonld

Crate rdf_writer_jsonld 

Source
Expand description

A JSON-LD file writer for RDF.rs, a Rust framework for RDF knowledge graphs.

§Examples

use tokio::fs::File;
let file = File::create("output.jsonld").await?;

use rdf_writer_jsonld::JsonldWriter;
let writer = JsonldWriter::from(file);

writer.finish().await?;

See: https://json-ld.org

Structs§

JsonldWriter
A writer (aka serializer) for the JSON-LD text format.

Type Aliases§

JsonldWriterError
An error encountered while writing a JSON-LD file.
JsonldWriterResult
The result type for JSON-LD writer operations.