I have the followin code:
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;`enter code here`
StringBuffer response = new StringBuffer();
while((inputLine = in.readLine()) != null){
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
Output:
I want to parse it to Objects with such states as Id, Amount and Points. I tried to use "DOM and a StringReader", but tags are empty so I failed.
No comments:
Post a Comment