[ https://issues.apache.org/jira/browse/OLINGO-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Seccafien resolved OLINGO-1361. --------------------------------------- Resolution: Abandoned > Provide option to omit null properties from a JSON Response > ----------------------------------------------------------- > > Key: OLINGO-1361 > URL: https://issues.apache.org/jira/browse/OLINGO-1361 > Project: Olingo > Issue Type: Wish > Components: odata2-core > Reporter: Michael Seccafien > Priority: Minor > > There does not seem to be an option currently to ignore the null property > values in the odata json response. > For example, we would like to have: > { "name": "abc", "description": null} > returned as: > { "name": "abc"} > > ASP.Net currently has this feature: > [https://stackoverflow.com/questions/14486667/suppress-properties-with-null-value-on-asp-net-web-api] > I believe this would require enhancements to > [https://github.com/apache/olingo-odata2/blob/ae1653b2fbd1ac579ea7dfaec46af6dd150aa743/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/producer/JsonEntryEntityProducer.java] > -- This message was sent by Atlassian Jira (v8.3.4#803005)