Trait json_ld::TryFromJson
source · pub trait TryFromJson<T, B, M>: Sized {
fn try_from_json_in(
vocabulary: &mut impl VocabularyMut<Iri = T, BlankId = B>,
value: Meta<Value<M>, M>
) -> Result<Meta<Self, M>, Meta<InvalidExpandedJson<M>, M>>;
}
Expand description
Try to convert from a JSON value directly into an expanded JSON-LD document without going through the expansion algorithm.
The input JSON value must be in expanded JSON-LD form.