jsonld-serialization 0.24.0

JSON-LD serialization
Documentation

jsonld-serialization

Crate Docs MSRV License

Serializes an RDF dataset into JSON-LD, which is the inverse of the to_rdf direction implemented in jsonld-core. Any type implementing LinkedData, including types that derive it, becomes an expanded JSON-LD document.

Blank nodes are resolved through the interpretation the dataset was built against, so a resource seen twice yields one node object rather than two.

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: