pub fn serialize_node_with<I, V, T>(
vocabulary: &mut V,
interpretation: &mut I,
value: &T,
) -> Result<Node<V::Iri, V::BlankId>, Error>where
V: Vocabulary + VocabularyMut,
V::Iri: Clone + Eq + Hash,
V::BlankId: Clone + Eq + Hash,
I: ReverseInterpretation + ReverseLocalInterpretation,
T: ?Sized + LinkedDataResource<I> + LinkedDataSubject<I>,Expand description
Serialize the given Linked-Data value into a JSON-LD node object using a custom vocabulary and interpretation.
ยงErrors
Returns an error when the value cannot be expressed as a JSON-LD node object.