[−][src]Function json_ld::context::expand_iri
pub fn expand_iri<'a, T: Send + Sync + Id, C: Send + Sync + ContextMut<T>, L: Send + Sync + Loader>(
active_context: &'a mut C,
value: &str,
document_relative: bool,
vocab: bool,
local_context: &'a JsonObject,
defined: &'a mut HashMap<String, bool>,
remote_contexts: ProcessingStack,
loader: &'a mut L,
options: ProcessingOptions
) -> impl 'a + Future<Output = Result<Lenient<Term<T>>, Error>> where
C::LocalContext: Send + Sync + From<L::Output> + From<JsonValue>,
L::Output: Into<JsonValue>,
Default values for document_relative
and vocab
should be false
and true
.