Get line of text from JSON

As JSON is a key-value text pair, you’ll need to load and convert the JSON file into a structure. Then you can access the values by using the key (or name of the structure’s child).

So say the file is GameSave.json, with contents:

{ "name":"MrMen", "hitpoints":"100" }

Then you’d use the events as:

image

1 Like