Im trying to tanslate text with the Microsoft Text Translation API. I did this with the tutorial from Microsoft link. As a result from the translator I get a jsonResponse, which looks like this:
[{"detectedLanguage":{"language":"de","score":1.0},"translations":[{"text":"Heute ist ein schöner Tag","to":"de"},{"text":"Today is a beautiful day","to":"en"}]}]
Problem: In the tutorial I serialize an Array, that holds a string (in this case only one). I know that I have to Deserialize the Object again, so i can get to each variable. I don't know how to get to the second "text"-variable(since there are 2 variables that are called "text") and it's in an Array. I only want the "Today is a beatiful day"
How can I do this?