json_ld_core/
lib.rs

1//! JSON-LD core types.
2pub use json_ld_syntax::{Direction, LenientLangTag, LenientLangTagBuf, Nullable};
3
4mod container;
5pub mod context;
6mod deserialization;
7mod document;
8pub mod flattening;
9pub mod id;
10mod indexed;
11mod lang_string;
12pub mod loader;
13mod mode;
14pub mod object;
15pub mod print;
16pub mod quad;
17pub mod rdf;
18mod serialization;
19mod term;
20mod ty;
21pub mod utils;
22pub mod warning;
23
24pub use container::{Container, ContainerKind};
25pub use context::Context;
26pub use document::*;
27pub use flattening::Flatten;
28pub use id::*;
29pub use indexed::*;
30pub use lang_string::*;
31pub use loader::*;
32pub use mode::*;
33pub use object::{IndexedNode, IndexedObject, Node, Nodes, Object, Objects, TryFromJson, Value};
34pub use print::Print;
35pub use quad::LdQuads;
36pub use rdf::RdfQuads;
37pub use term::*;
38pub use ty::*;
39
40pub struct Environment<'a, N, L, W> {
41	pub vocabulary: &'a mut N,
42	pub loader: &'a L,
43	pub warnings: &'a mut W,
44}