Expand description
Serialization of RDF datasets into JSON-LD.
Turns an RDF dataset — or any type implementing ld_core::LinkedData,
which includes types deriving it — into a jsonld_core::ExpandedDocument.
This is the inverse of the to_rdf direction implemented in
jsonld-core.
Blank nodes are resolved through the interpretation the dataset was built against, so the same resource seen twice yields one node object rather than two.
Enums§
- Error
- Error raised while serializing a document.
Functions§
- serialize
- Serialize the given Linked-Data value into a JSON-LD document.
- serialize_
node - Serialize the given Linked-Data value into a JSON-LD node object.
- serialize_
node_ with - Serialize the given Linked-Data value into a JSON-LD node object using a custom vocabulary and interpretation.
- serialize_
object - Serialize the given Linked-Data value into a JSON-LD object.
- serialize_
object_ with - Serialize the given Linked-Data value into a JSON-LD object using a custom vocabulary and interpretation.
- serialize_
with - Serialize the given Linked-Data value into a JSON-LD document using a custom vocabulary and interpretation.