Function json_ld_serialization::serialize_with
source ยท pub fn serialize_with<V, I>(
vocabulary: &mut V,
interpretation: &mut I,
value: &impl LinkedData<I, V>,
) -> Result<ExpandedDocument<V::Iri, V::BlankId>, Error>where
V: Vocabulary + IriVocabularyMut,
V::Iri: Clone + Eq + Hash,
V::BlankId: Clone + Eq + Hash,
I: Interpretation + ReverseIriInterpretation<Iri = V::Iri> + ReverseBlankIdInterpretation<BlankId = V::BlankId> + ReverseLiteralInterpretation<Literal = V::Literal>,
Expand description
Serialize the given Linked-Data value into a JSON-LD document using a custom vocabulary and interpretation.