I have a JSON file with these values :

```
{ 
  id:
  name:
  lastName:
  Info:[ 
    {
      info1:
      info2:
      info3: 
    },
    { 
      info1:
      info2:
      info3:
    }
  ]
}

```

So, Info object has two lists.
I want to be able to access the last one.
data.info[0] is for the first object. How do I access the last one ?
(var data holds the JSON results).
In my Entity I have a Client entity that has a one to many mapping with InfoData,as a list :
Like this :

```
    @OneToMany(mappedBy = "client", cascade = CascadeType.ALL)
    @JsonManagedReference  
    private List<InfoData> info= new ArrayList<InfoData>();

```

Thank you.