[ https://issues.oasis-open.org/browse/ODATA-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63981#comment-63981 ]
Michael Pizzo commented on ODATA-920:
-------------------------------------
Perhaps support both:
{
"number": 3
"":"myfavoritenumber",
"numbers":[1,2,3,null],
"numbers@":[1,2,{"@ns.comment":"myfavoritenumber","Value":3},{"@numericValueException":"INF"}]
}
With a new preference services could always and only return annotated primitive values as objects (without the trailing "@"):
{
"number": {"@ns.comment":"myfavoritenumber","Value":3],
"numbers":[1,2,{"@ns.comment":"myfavoritenumber","Value":3},{"@numericValueException":"INF"}]
}
> Specify overflow for int data types (-INF, INF, NaN)
> ----------------------------------------------------
>
> Key: ODATA-920
> URL: https://issues.oasis-open.org/browse/ODATA-920
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Improvement
> Components: OData JSON Format, OData URL Conventions
> Affects Versions: V4.0_OS
> Environment: Proposal needed for CSD01
> Reporter: Martin Zurmuehl
> Assignee: Michael Pizzo
> Fix For: V4.01_WD01
>
>
> See ODATA-785 for a description of the issue --> Comments Section.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)