I have a String that contains a json format information. It is an oauth token.
I would like to extract the refresh_token. How can I do it? 
This is the json that is printing from inputLine:
  {
    {   "access_token":"ffa6ea48612b19966383fd6b134fe2c4daac80ce31a8632284bb7f9ad796b8 
   9a",
 "access_token":"ffa6ea48612b19966383fd6b134fe2c4daac80ce31a8632284bb7f9ad796b8 
   9a",
   "expires_in":"1800000",
   "expires_in":"1800000",
   "token_type":"Bearer",
   "token_type":"Bearer",
   "scope":"issuer serial",
   "scope":"issuer serial",
 "refresh_token":"035075054a454d1257281f89c4ce646f40f0ee935dbf19201a03976cd8890739"
  "refresh_token":"035075054a454d1257281f89c4ce646f40f0ee935dbf19201a03976cd8890739"
}
}
 while ((inputLine = in2.readLine()) != null) {
                System.out.println(inputLine);
                Gson gs = new Gson();
                RefreshToken rt = new RefreshToken();
                rt.t = inputLine;
                String xjson = gs.toJson(rt.t);
                System.out.println(xjson);
            }
 
     
     
    