-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: V4.0_WD01
-
Fix Version/s: V4.0_WD01
-
Component/s: JSON Format
-
Labels:None
-
Environment:
[Applied]
-
Proposal:
-
Resolution:
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 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 :-?)