Data types
As a superset of JSON, Ion includes the following data types * : An empty value * : Boolean values * : Unicode text literals * : Ordered heterogeneous collection of Ion values * : Unordered collection of key/value pairs The nebulous JSON 'number' type is strictly defined in Ion to be one of * : Signed integers of arbitrary size * : 64-bit IEEE binary-encoded floating point numbers * : Decimal-encoded real numbers of arbitrary precision Ion adds these types: * : Date/time/time zone moments of arbitrary precision * : Unicode symbolic atoms (aka identifiers) * : Binary data of user-defined encoding * : Text data of user-defined encoding * : Ordered collections of values with application-defined semantics Each Ion type supports a null variant, indicating a lack of value while maintaining a strict type (e.g., , ). The Ion format permits annotations to any value in the form of symbols. Such annotations may be used as metadata for otherwise opaque data (such as a blob).Implementations
Examples
Sample document
Uses
* Amazon's Quantum Ledger Database (QLDB) stores data in Ion documents.Tooling and extensions
References
External links