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
44
//! JSON-LD core types.
pub use json_ld_syntax::{Direction, LenientLangTag, LenientLangTagBuf, Nullable};

mod container;
pub mod context;
mod deserialization;
mod document;
pub mod flattening;
pub mod id;
mod indexed;
mod lang_string;
pub mod loader;
mod mode;
pub mod object;
pub mod print;
pub mod quad;
pub mod rdf;
mod serialization;
mod term;
mod ty;
pub mod utils;
pub mod warning;

pub use container::{Container, ContainerKind};
pub use context::Context;
pub use document::*;
pub use flattening::Flatten;
pub use id::*;
pub use indexed::*;
pub use lang_string::*;
pub use loader::*;
pub use mode::*;
pub use object::{IndexedNode, IndexedObject, Node, Nodes, Object, Objects, TryFromJson, Value};
pub use print::Print;
pub use quad::LdQuads;
pub use rdf::RdfQuads;
pub use term::*;
pub use ty::*;

pub struct Environment<'a, N, L, W> {
	pub vocabulary: &'a mut N,
	pub loader: &'a mut L,
	pub warnings: &'a mut W,
}