Skip to main content

LDParser.extractTerms() method

ExtractTerms returns the terms definitions from the JSON-LD context

Signature:

static extractTerms(context: string | JSON): Promise<Map<string, unknown>>;

Parameters

ParameterTypeDescription
contextstring | JSONJSONLD context

Returns:

Promise<Map<string, unknown>>

Promise<Map<string, string>>