GetCanonicalPath(String, JqModuleKind, Nullable, String?) Method

Definition

Namespace JQLite
Assembly JQLite.dll

The canonical path of the module path of the given kind, imported with metadata (the directive's metadata object, if any) from the module at fromPath (a canonical path, or null for the expression itself); null when there is no such module. The same canonical path means the same module.

public override string? GetCanonicalPath(string path, JqModuleKind kind, JsonElement? metadata, string? fromPath)

Parameters

path
String
fromPath
String

Returns