Using the deserialise JSON function, a for each and an assign, I’ve manged to get the information I want in to a string variable - this is the information it contains
Please can I ask, what code would I write so I am just left with the word ‘Africa’?
For a bit of context, I am practicing working with API’s and I have set myself the challenge using this https://api.football-data.org/v2/competitions to get the country or continent that football competitions are played in. I will go on to get information like the name of the competition, the start and end date etc hence I just need ‘Africa’ (or whatever country is presented as I loop through the data)
Just go through this thread it will help you. As I can see it is JSON object and this thread belongs to JSON object only and they have sample xaml attached.
This worked fine, thank you - I put in the variable that contains that information in to the deserialize Json box (e.g ‘jsonObjArea.Item(“area”).ToString’) which produces an output of jsonObjArea2 and then in to an assign I put your string jsonObjArea2.Item(“name”).ToString to get the country - thank you for the help