Trait json_ld::ExtractContext
source · pub trait ExtractContext<M>: Sized {
type Context;
type Error;
fn extract_context(
value: Meta<Self, M>
) -> Result<Meta<Self::Context, M>, Self::Error>;
}
Expand description
Context extraction method.
Implemented by documents containing a JSON-LD context definition, providing a method to extract this context.