SAP Knowledge Base Article - Preview

2829938 - An empty EntitySet is represented as an empty JSON array instead of 'null'


After upgrade, you found that the OData JSON serializer handles empty result arrays in a different way. Previously it would be 'null', now it is an empty JSON array.

For example, previously it is:

"Products" : null

Now it is:

"Products" : {
      "results" : [




SAP Gateway Framework


SAP Gateway all versions


Entity Set, empty result, json format , KBA , OPU-FND-CCL , Consumer Connectivity Layer , OPU-GW-COR , Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.