How do you access the links object (JSONApiAdapter)


I made a stack overflow question about this, but a week and a bit later no answer.

I’m using the JSONApiAdapter, and I’m trying to setup pagination for my blog so I decided to use the links object to store links for the next, prev, last, and first endpoints, as all the examples on the JSONApi specification site do this. But I’m not unsure how to access this information via the adapter or any other means.