Code example for Gson

Methods: fromJson

	protected LinkedList<T> getInstancesFromJson(String json) {
		LinkedList<T> instances = null;
		Gson gson = new Gson();
		Type collectionType = getDeserializationType();
			instances = gson.fromJson(json, collectionType);
		}catch(Exception e){
			Log.e(taskName, e.getMessage());
		return instances;
	protected String getFromServer(String gaeUrl) {
		Log.d(TAG, taskName + ": Getting json from server");
		return Request.getJson(getIntentName(), gaeUrl);
Connect your IDE to all the code out there  Get Codota for Java