jsonld-expansion
The JSON-LD 1.1 expansion algorithm. Expansion rewrites a document into a regular form: terms and compact IRIs become full IRIs, the defaults a context sets are applied to every value, and the @context entries disappear. Almost every other JSON-LD algorithm starts here, because expansion removes the many ways the syntax offers to say the same thing.
Part of jsonld, a JSON-LD 1.1 implementation for Rust. Reach for the umbrella crate unless you specifically want expansion on its own.
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: