Interface: JsonFileProvider
Defined in: packages/data-providers/src/types.ts:26
Extended by
Methods
getJsonFile()
getJsonFile(
baseUrl,fileName):Promise<any>
Defined in: packages/data-providers/src/types.ts:32
Download and parse a JSON file and return the resulting struct.
Parameters
baseUrl
string
Base URL of the model. Pass empty string to treat fileName as a full signed URL.
fileName
string
Filename of JSON file, or a full signed URL when baseUrl is empty.
Returns
Promise<any>