Skip to content

Instantly share code, notes, and snippets.

@DeveloperArthur
Created March 17, 2020 17:41
Show Gist options
  • Save DeveloperArthur/204e83bccc0f8e3cd49fe12bd5784209 to your computer and use it in GitHub Desktop.
Save DeveloperArthur/204e83bccc0f8e3cd49fe12bd5784209 to your computer and use it in GitHub Desktop.
package br.com.meubuscadordecep;
import java.io.BufferedReader;
import java.io.IOException;
public class Util {
public static String converteJsonEmString(BufferedReader buffereReader) throws IOException {
String resposta, jsonEmString = "";
while ((resposta = buffereReader.readLine()) != null) {
jsonEmString += resposta;
}
return jsonEmString;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment