I am working in a class project to demo RESTful web service workflows. The idea is to use different web services available online: e.g Google Services...
I implemented a HTTP adapter to perform a GET to the Google Translation RESTful Web Service.
The URL is https://www.googleapis.com/language/translate/v2?key=%key%&q=%val%&sourc...
The response of this call is given as JSON only (No XML support), and the format is:
I need to implement a conversion task ( Similar than XPATH) where I can access the translatedText and assign this to output variable. Something like: textTransalated = data.translations.translatedText;
Any ideas of how to parse JSON outputs?
I appreciated any help on this.