Expand description

This crate is a Rust implementation of the JSON-LD data interchange format.

Linked Data (LD) is a World Wide Web Consortium (W3C) initiative built upon standard Web technologies to create an interrelated network of datasets across the Web. The JavaScript Object Notation (JSON) is a widely used, simple, unstructured data serialization format to describe data objects in a human readable way. JSON-LD brings these two technologies together, adding semantics to JSON to create a lightweight data serialization format that can organize data and help Web applications to inter-operate at a large scale.

State of the crate

This new version of the crate includes many breaking changes that are not yet documented. Some functions may still be renamed, which is why the latest release is still flagged as beta. Don’t hesitate to contact me for any question about how to use this new API while I write the documentation.

Re-exports

pub use json_ld_compaction as compaction;
pub use json_ld_context_processing as context_processing;
pub use json_ld_expansion as expansion;
pub use json_ld_syntax as syntax;

Modules

Context processing algorithm and related types.
Flattening algorithm and related types.
Nodes, lists and values.
Utility functions.

Structs

JSON-LD context.
Result of the document expansion algorithm.
File-system loader.
Indexed objects.
Raised when something tried to build a language string without language tag or direction.
Language string.
Dummy loader.
Node object.
Iterator through indexed nodes.
Iterator through indexed objects.

Enums

Internationalized string direction.
Node identifier.
Language tag that may not be well-formed.
Language tag buffer that may not be well-formed.
Value that can be null.
Object.
Processing mode.
Id to a reference.
RDF Subject.
Value object.

Traits

Compaction function.
Document expansion.
Subject identifier generator, with metadata.
Types that can be converted into a borrowed node reference.
JSON document loader.
Print methods.

Type Definitions