Trait json_ld_core::object::TryFromJsonObject
source · 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§
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>>
Object Safety§
This trait is not object safe.