JSON.LD.IRIExpansion (JSON-LD.ex v0.3.3) View Source

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

Specs

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