In the game you will have to store the information in a Dictionary. And then Godot has a JSON.parse() function which will convert a Dictionary into a JSON format. You can then save that to a JSON file. And when you read the file, you'll have to convert it back into a Dictionary so it's easier to use in the game.