Skip to Content
Oct 19, 2016 at 05:35 PM

GW : JSON response



We are checking if GW would allow us to override the default behavior in scenarios where we need to return empty arrays.

Request Payload:

"PropertyName":[ ]

if the request payload is in above format(empty array), we have observed that GW returns the response in the below format( if there are no records, square brackets are removed )



Does GW provide any option to change the response to "PropertyName":[ ] ( with the square brackets, if we want to return an empty array) or does it violate the OData standards?

Thank you