Skip to main content

Resolve JSON-LD context

Returns the context of a JSON-LD credential.

This is a cached entity.

Function

resolveJsonldContext(url: string): Promise<ResolveJsonLdContextResponse>

Parameters

  • url - The URL referencing a JSON-LD context, from the @context field of a JSON-LD credential.

Return value

The JSON-LD context is returned, as string.