Reject.prototype.toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader; context?: ; }): Promise<unknown>
Converts this object to a JSON-LD structure.
optional
options: { format?: "compact" | "expand"; contextLoader?: DocumentLoader; context?: ; }
The options to use.
format: The format of the output:compactorexpand.contextLoader: The loader for remote JSON-LD contexts.context: The JSON-LD context to use. Not applicable whenformatis set to'expand'.
Promise<unknown>
The JSON-LD representation of this object.