I have simple json which looks like this :
[  
  {  
    "id":"0",
    "name":"Bob",
    "place":"Colorado",
  },
  {  
    "id":"1",
    "name":"John",
    "place":"Chicago",
  },
  {  
    "id":"2",
    "name":"Marry",
    "place":"Miami",
  }
]
What I want is using Java to create list of strings (List<String>) that contains all 'names'. I have some experience using Gson and I think about something  like:
Gson gson = new Gson();
String[] stringArray= gson.fromJson(jsonString, " ".class);
The problem with this method is that I should create some POJO class which I didn`t in this case. Is it any way I can achieve it without creating separate class with this 'name' property ?
 
     
     
    