[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-920) Specify overflow for int data types (-INF, INF, NaN)
[ https://issues.oasis-open.org/browse/ODATA-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63981#comment-63981 ] Michael Pizzo edited comment on ODATA-920 at 11/3/16 4:13 PM: -------------------------------------------------------------- Perhaps support both: { "number": 3 "number@ns.comment":"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"}] } Need to think through how this affects arrays of arrays, nav props, counts, complex types, etc... was (Author: mikep): Perhaps support both: { "number": 3 "number@ns.comment":"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)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]