Skip to main content

serialize

Function serialize 

Source
pub fn serialize(
    value: &impl LinkedData<LocalGeneratorInterpretation<Blank>>,
) -> Result<ExpandedDocument, Error>
Expand description

Serialize the given Linked-Data value into a JSON-LD document.

ยงErrors

Returns an error when the value cannot be expressed as a JSON-LD document.