Generic implementation of AsyncTask class in Android. It can be used to get JSON data using REST.