If you control the data format the most obvious choice would be to add it as a Lua module that you can require from your script. That way you don’t have to do any parsing or anything like that. In your example you already have a predefined format so I’d look into adding the file(s) as custom resources in your game.project file. These files will then be included in your binary and you can read them using sys.load_resource().
3 Likes