Skip to main content

serialize_object

Function serialize_object 

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

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

ยงErrors

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