readfile
Reads and returns the full contents of a file.
function readfile(pathpathstringPath to the file (relative to workspace).: string): stringstringThe file contents as a string.Usage
Read a config file
local data = readfile("config.json")
print(data)