I receive reply from Google Translate v2 as json which looks like this
{ "data": { "translations": [ { "translatedText": "Wunderwaffe" } ]
} }
then I pass it to json_decode() function and obviously I get a JSON object.
But how do I get translatedText value?
I know it's a really newbie question, but that's what I am with JSON and json_decode().
Thank you in advance?