I knew this question has been asked before. Due to my novice skill in java and android. I can\'t resolve this issue for more than a week.
One of my friend and i dev
import import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; Code String json = new Gson().toJson("Your Value"); ArrayList outputList = new Gson().fromJson("Receive Value", new TypeToken() { }.getType()); Log.d("TAG", outputList.get(0).getName);