[OASIS Issue Tracker] (ODATA-818) Omit properties whose value is null or the $metadata-defined default value

From
OASIS Issues Tracker <>
Date
2016-04-26T14:17:26+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-818) Omit properties whose value is null or the $metadata-defined default value
[ https://issues.oasis-open.org/browse/ODATA-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62309#comment-62309 ] 

Ralf Handl commented on ODATA-818:
----------------------------------

In Data Aggregation we distinguish between properties that have the null value, and properties that have been "aggregated away". The latter are not represented in the response.

> Omit properties whose value is null or the $metadata-defined default value
> --------------------------------------------------------------------------
>
>                 Key: ODATA-818
>                 URL: https://issues.oasis-open.org/browse/ODATA-818
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData JSON Format, OData Protocol
>    Affects Versions: V4.0_ERRATA02
>         Environment: Simplified Payload
>            Reporter: Ralf Handl
>            Assignee: Ralf Handl
>              Labels: Performance
>             Fix For: V4.01_WD01
>
>
> Entities with many properties that are sparsely filled would benefit from optimizing the payload and omitting properties whose value is null.
> With odata.metadata=minimal the client can deduce from the context URL whether a property is missing due to not being part of the projection or due to being null.
> Maybe switch this on/off via a new preference in the Prefer header.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)