How to parse google translate api json

I written a code to translate using google translate api. I am trying to write code to parse the returned data. Please help me in the parsing using jquery. My code:

$(xml).find('data').each(function(i){
                        var text = $(this).text();
                        j=i+1;
                        $("#_"+j).html(text);
                  });

Return:

{data:{,...}}
data: {,…}
translations: [{translatedText:Ihr Telefon hat (4)-Virus!}, {,…}, {translatedText:Wie Sie den Virus zu entfernen:},…]
0: {translatedText:Ihr Telefon hat (4)-Virus!}
translatedText: "Ihr Telefon hat (4)-Virus!"
1: {,…}
translatedText: "Wenn Sie nicht diese Viren zu entfernen, können sie die SIM-Karte beschädigt werden und alle Ihre Telefonkontakte zu entfernen. Folgen Sie den nachstehenden Anweisungen, um alle das Virus sofort zu entfernen"
2: {translatedText:Wie Sie den Virus zu entfernen:}
3: {translatedText:Schritt 1:}
4: {translatedText:Registerkarte auf die Schaltfläche unten, um zu installieren}
5: {translatedText:KOSTENLOS}
6: {translatedText:Android Rüstung}
7: {translatedText:Schritt 2:}
8: {translatedText:Öffnen Sie die Sicherheits App, scannen und entfernen Sie alle Viren}
9: {translatedText:HERUNTERLADEN}

Parse Google Translate JSON in iOS

What is the best way to Parse the JSON from Google Translate. So far I have: NSString *urlText = [NSString stringWithFormat:@https://www.googleapis.com/language/translate/v2?key=%@&target=%@&

how do I use the json google translate api?

I am trying to use google translate from python with utf-8 text. How do I call the json api? They have a document for embedding it in html but I can’t find a proper API or wsdl anywhere. Thanks Raphae



How to get and parse json answer from google translate

I want to translate word with ajax request to google translate If i use curl, it willl be like: curl_init(http://translate.google.com/translate_a/t?client=t&text=hello&sl=en&tl=ru); But

How to Use Google Translate API?

How to use google translate api for change the text of textview in whole application?

Parse Google Translate Json C#

I’m trying to parse some JSON using the System.Runtime.Serialization.Json library. The documentation seems a little sparse and I’m confused as to how to accomplish what I need. Here is the format for

Help with JSON error handling and google translate api

I’m currently parsing a JSON response from the Google Translate API. I’m able to do this with no problem. Seeing as how I don’t have a lot of XML experience (I’m more of an XML guy), I’m having troubl

How do I use Google Json Parsing API (Gson) to parse some dynamic fields in my json?

I have a structured Json to be mutable in some fields, how can I parse (deserialize) it correctly in Java using Gson google json api ? Json example: { type: ‘sometype’, fields: { ‘dynamic-field-1’:[{v

“google translate” vs “translate api”

I hear that the Translate API will be charged for, but what exactly prevents us form using the free Google Translate service here for free ? Otherwise put, what are the limitations of the free service

Google Translate API Issue

I am trying to translate a simple string using Google Translate API. Although I have not setup billing now but I have my API Key to accomplish this. It is giving an error/exception: Google.Apis.Reque

How to parse google custom search result get throug Json by using restfull api to Google results as google shows?

I want to parse the json get through google custom search restful api into results as google shows in its search result . I am using ajax for the service call but don’t know the way to parse there res