Project-GC Lua Sandbox API
Loading...
Searching...
No Matches
GetJsonData

Member Function Documentation

◆ GetJsonData()

GetJsonData ( $lookupKey)

Get a stored JSON blob from the Project-GC servers.

This function is a bit special. If you have larger data-sets, you can ask support to have it stored on the Project-GC servers, and then retrieve it with this method. This is to avoid having several kilobytes or megabytes of data inside the LUA scripts (or tags).

Parameters
string$lookupKey(required) A lookup string for the json data you want returned.
Returns
array The json data decoded into an array.