Skip to main content

serialize_node

Function serialize_node 

Source
pub fn serialize_node(
    value: &(impl LinkedDataSubject<LocalGeneratorInterpretation<Blank>> + LinkedDataResource<LocalGeneratorInterpretation<Blank>>),
) -> Result<Node, Error>
Expand description

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

ยงErrors

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