@@ -0,0 +1,811 @@
+package com.expidev.gcmapp.utils;%0A%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0A%0A/**%0A * Created by William.Randall on 1/15/2015.%0A */%0Apublic class JsonStringReader%0A%7B%0A    public static String readFully(InputStream inputStream, String encoding) throws IOException%0A    %7B%0A        return new String(readFully(inputStream), encoding);%0A    %7D%0A%0A    private static byte%5B%5D readFully(InputStream inputStream) throws IOException%0A    %7B%0A        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();%0A        byte%5B%5D buffer = new byte%5B1024%5D;%0A        int length;%0A        while ((length = inputStream.read(buffer)) != -1)%0A        %7B%0A            byteArrayOutputStream.write(buffer, 0, length);%0A        %7D%0A        return byteArrayOutputStream.toByteArray();%0A    %7D%0A%7D%0A

Create a util class to handle turning the input stream into a string