local mapSpawnsData = {} local JSONData = file.Read(filePath) -- read file as json text mapSpawnsData = util.JSONToTable(JSONData) -- convert JSON to