Passing multiple arrays on REST API is pretty common practice and their is no issues with that.
If their is single array you can de-serialize it and send it as objects but, you will face issues at client end using the response. So, better stick with arrays .
Atul Sharma
Full Stack Developer | Cloud Native Applications
Passing multiple arrays on REST API is pretty common practice and their is no issues with that.
If their is single array you can de-serialize it and send it as objects but, you will face issues at client end using the response. So, better stick with arrays .