Hi dev,
I’m working with an api where each call return a “next” key containing info about the next page.
When the last page is reached, “next” has the value nil.
When doing this client side using the corona api, I am able to evaluate the “next” key as nil or not.
But when trying this serverside using core.network.request (with josn.decode) or core.network.getJson (without json.decode), this key refuses to evaluate as nil, and yet I cannot find any value for it I can use to catch that last page.
Is there some logic that you have built into the core api that somehow remove nil values and replace them? if so with what?
anaqim