JSON.LD.DocumentLoader.Default (JSON-LD.ex v1.0.0)
View SourceDefault implementation of the JSON.LD.DocumentLoader
behaviour.
This module provides the standard document loader that follows the JSON-LD 1.1
specification for Remote Document and Context Retrieval. It delegates the actual
loading logic to JSON.LD.DocumentLoader.RemoteDocument
.
See: https://www.w3.org/TR/json-ld11-api/#remote-document-and-context-retrieval
Summary
Functions
Callback implementation for JSON.LD.DocumentLoader.load/2
.
Functions
@spec load(String.t(), JSON.LD.Options.convertible()) :: {:ok, JSON.LD.DocumentLoader.RemoteDocument.t()} | {:error, any()}
Callback implementation for JSON.LD.DocumentLoader.load/2
.