Show / Hide Table of Contents

Class DefaultDocumentLoader

Implements the default remote JSON document loader logic for the JSON-LD processor.

Inheritance
object
DefaultDocumentLoader
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.JsonLd
Assembly: dotNetRdf.dll
Syntax
public static class DefaultDocumentLoader

Methods

| Edit this page View Source

LoadJson(Uri, JsonLdLoaderOptions)

Attempt to retrieve a JSON-LD document following the standard rules for following Link headers.

Declaration
public static RemoteDocument LoadJson(Uri remoteRef, JsonLdLoaderOptions loaderOptions)
Parameters
Type Name Description
Uri remoteRef

The remote document reference to be resolved.

JsonLdLoaderOptions loaderOptions

Options to apply to the loading process.

Returns
Type Description
RemoteDocument

The loaded remote document.

Exceptions
Type Condition
JsonLdProcessorException

Raised if the remote reference could not be de-referenced to a processable JSON document.

WebException

Raised if an error was encountered when retrieving content from the remote server.

  • Edit this page
  • View Source
In this article
  • Methods
    • LoadJson(Uri, JsonLdLoaderOptions)
Back to top Generated by DocFX