You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a very easy task. I thought maybe it could just be done by casting the response object as an array, but that doesn't work because all the fields are private.
The only way I can think of right now is to write something using reflection that calls all the getter methods on the response object to get all the field values. I may be able to implement some kind of asArray extension onto all the response objects to do this, but I'll have to mess with it some to see if it's doable.
Hi
could there be a built in function to turn the object response into a array or multidimensional array with keys
thanks
The text was updated successfully, but these errors were encountered: