Pros and Cons of using json array and json object
|Added at||2016-12-28 14:12|
My question is little theoretical but it's interesting one. I want to know which approach is best while using web api.
I've two methods
I know how for method 1, I need to pass json array and for method two I need to wrap json array to json object.
But my question is which approach is best and why?