View Source JSON.LD.IRIExpansion (JSON-LD.ex v0.3.7)
Implementation of the JSON-LD 1.0 IRI Expansion algorithm.
Link to this section Summary
Link to this section Functions
Link to this function
expand_iri(value, active_context, doc_relative \\ false, vocab \\ false, local_context \\ nil, defined \\ nil)
View Source@spec expand_iri( String.t(), JSON.LD.Context.t(), boolean(), boolean(), map() | nil, map() | nil ) :: {String.t(), JSON.LD.Context.t(), map()} | String.t()
see http://json-ld.org/spec/latest/json-ld-api/#iri-expansion