[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (ODATA-342) Can we relax the requirement of int64 numbers being represented as strings in the JSON Format for integer numbers that don't lose precision in ECMAScript when represented as numbers?
[ http://tools.oasis-open.org/issues/browse/ODATA-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32998#action_32998 ] Stefan Drees commented on ODATA-342: ------------------------------------ This proposal helps in cutting down (uncompressed wire size) by skipping the delimiters of strings, right? But the processing on the receiving side is then forced to implement if-and-else logic or must always decorate the so-or-so-value with a stringify() method, correct? The proposal looks more elegant, than conservatively wrapping everything in a typesafe transport container, but are there real cool use cases for it, that make it a good move :-?) > Can we relax the requirement of int64 numbers being represented as strings in the JSON Format for integer numbers that don't lose precision in ECMAScript when represented as numbers? > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: ODATA-342 > URL: http://tools.oasis-open.org/issues/browse/ODATA-342 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData JSON Format > Environment: [Proposed] > Reporter: Hubert Heijkers > Priority: Minor > > The current JSON Format specification requires all Int64 numbers to be represented as strings because of the limitation of numbers in JavaScript were these numbers get stored as 64-bit binary format IEEE values and therefore lose precision past 15 digits. However numbers up to that point could still be represented as numbers. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]