API JSON return alias's

Strange question alert.

In database queries I can assign an Alias to any column I am returning. Is there a similar way to do that for API JSON returns?

My situation is that, I may be linking to 5 different API providers and one may use firstName, another uses First_Name etc. and it makes it difficult trying to display the data like that, it would be easier if there was a similar alias method like I would have on database queries.

Hope this makes sense.

Community Page
Last updated: