
A loadable json asset. This asset type loads JSON from a remote file.
Kind: global class
\*PromisePromise\*Get json data.
Kind: instance property of JsonAsset
Returns: \* - Data as dictionary.
Kind: instance property of JsonAsset
PromiseLoad the JSON data from the asset URL.
Kind: instance method of JsonAsset
Returns: Promise - Promise to resolve when fully loaded.
PromiseCreate the JSON data asset from object or string.
Kind: instance method of JsonAsset
Returns: Promise - Promise to resolve when asset is ready.
| Param | Type | Description |
|---|---|---|
| source | Object | String |
Data to create asset from. |
Kind: instance method of JsonAsset