jsonAsset
jsonAsset<
TValue>(url):AssetHandle<TValue>
Defined in: src/modules/asset-loader/asset-loader.ts:254
An AssetHandle that fetches its URL and parses the response as JSON.
Type Parameters
Section titled “Type Parameters”TValue
Section titled “TValue”TValue = unknown
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”AssetHandle<TValue>