How to Parse JSONArray using GSON

view story

http://stackoverflow.com – I am facing a problem in parsing a large JSON of about 11MB in android with GSON and Jackson. The issue is that out of memory error exception occurs and also heap size is not enough to accomplish this process. This is my Paper Model Class public class Paper { public int primaryKey; public String title; public int entry; public Boolean favourite; public String comment; public int opt; public int score; } This is my Response Model Class public class Response { public List<Paper> papers; } This is my JSON String {"Paper":[[{"abstract":"Not Available","title":"A Fully Intrao (HowTos)