View Source JSON.LD.Options (JSON-LD.ex v0.3.9)

Options accepted by the JSON-LD processing algorithms.

as specified at https://www.w3.org/TR/json-ld-api/#the-jsonldoptions-type

Summary

Types

@type convertible() :: t() | keyword() | Enum.t()
@type t() :: %JSON.LD.Options{
  base: String.t() | nil,
  compact_arrays: boolean(),
  document_loader: nil,
  expand_context: map() | nil,
  processing_mode: String.t(),
  produce_generalized_rdf: boolean(),
  use_native_types: boolean(),
  use_rdf_type: boolean()
}

Functions

@spec new() :: t()
@spec new(convertible()) :: t()
@spec set_base(t(), RDF.IRI.coercible()) :: t()