0

I have used retrofit once to turn parse json into java classes but now I have this json data which is a list of movies and the problem when I use the site jsonschema2pojo it creates classes with movie names but the problem is the movies keep changing everyweek is there someway to do it . I added some image down here from jsonviewer.stack so you can see what I mean

enter image description here

enter image description here

I dont need a class name Sing or Fences because next week there are other movies hope you guys understand what I mean

user3277530
  • 351
  • 6
  • 14
  • Why you are creating node of a movies name? You need multiple json object inside your 'movies' array and each object contains movie name as string. You have to change your json response structure. – Pravin Divraniya Jan 08 '17 at 19:56
  • @PravinD I cant change it, it comes from a server like that – user3277530 Jan 08 '17 at 20:40

0 Answers0