9 karma · joined Apr 22, 2016 (10y ago) · 8 submissions
comment 10y ago · link · parent
Source: I am one of the primary authors.
comment 10y ago · link · parent
Some applications really need decimal values, and some really need IEEE floats. Ion can accurately and precisely denote both types of data, making it easier to ensure that the data is handled properly by both reader and writer.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
It's a core feature of Ion that the text and binary representations are isomorphic. You can take any Ion binary document and pretty-print it as an Ion text document that is exactly equivalent. You can edit that document and send it into your application, which will be guaranteed to be able to read it. Or you can take your hand-authored text data and transcode it into binary, and know that any Ion application can handle it without any extra effort.
comment 10y ago · link · parent
The Ion value 0.0 has one digit of precision (after the decimal point), while the value 0.00 has two. In the Ion data model, those are two distinct values, and conforming implementations must maintain the distinction.