pub trait TryFromJsonObject<T, B, M>: Sized {
    // Required method
    fn try_from_json_object_in(
        vocabulary: &mut impl VocabularyMut<Iri = T, BlankId = B>,
        object: Meta<Object<M>, M>
    ) -> Result<Meta<Self, M>, Meta<InvalidExpandedJson<M>, M>>;
}
Expand description

Try to convert from a JSON object directly into an expanded JSON-LD object without going through the expansion algorithm.

The input JSON object must be in expanded JSON-LD form.

Required Methods§

source

fn try_from_json_object_in( vocabulary: &mut impl VocabularyMut<Iri = T, BlankId = B>, object: Meta<Object<M>, M> ) -> Result<Meta<Self, M>, Meta<InvalidExpandedJson<M>, M>>

Implementors§

source§

impl<T, B, M, O: TryFromJsonObject<T, B, M>> TryFromJsonObject<T, B, M> for Indexed<O, M>

source§

impl<T: Eq + Hash, B: Eq + Hash, M> TryFromJsonObject<T, B, M> for Object<T, B, M>

source§

impl<T: Eq + Hash, B: Eq + Hash, M> TryFromJsonObject<T, B, M> for Properties<T, B, M>

source§

impl<T: Eq + Hash, B: Eq + Hash, M> TryFromJsonObject<T, B, M> for ReverseProperties<T, B, M>

source§

impl<T: Eq + Hash, B: Eq + Hash, M> TryFromJsonObject<T, B, M> for Node<T, B, M>