I would like to parse data from JSON which is of type String. I am using Google Gson.
String
I have:
jsonLine = \" { \"data\": { \"translati
Firstly Generate Getter And Setter using below parsing site
http://www.jsonschema2pojo.org/
Now use Gson
GettetSetterClass object=new Gson().fromjson(jsonLine,GettetSetterClass.class);
Now use object to get values such as data,translationText