jsonld-context-processing 0.24.0

JSON-LD context processing implementation
Documentation

jsonld-context-processing

Crate Docs MSRV License

The JSON-LD context processing algorithm. It turns a @context as written in a document into an active context: the term definitions, base IRI, vocabulary mapping, default language and default base direction that expansion and compaction consult. Remote contexts are fetched through a loader, and @import is resolved by merging the imported definition underneath the importing one.

Processed contexts are memoized, so a document that repeats the same context pays for it once.

Part of jsonld, a JSON-LD 1.1 implementation for Rust, which is what you usually want.

Status: experimental. Version numbers move fast and there is no compatibility promise before 1.0. The workspace README says what that means in practice.

Feature flags

Flag Default Enables
bytewise-iri yes byte-wise IRI comparison, hashing and ordering in iri-rs

License

Dual-licensed, same as upstream. Pick whichever fits: