parsing - How can I parse this json in android project -


this question has answer here:

how can parse json in android project?

{"code":200,"lang":"en-ru","**text**":["Лучше поздно, чем никогда"]} 

i need part of "**text**":["Лучше поздно, чем никогда"]

jsonobject jobj = new jsonobject("{"code":200,"lang":"en-ru","text":"Лучше поздно, чем никогда"}"); string text = jobj.optstring("text"); 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -