Ion (serialization format)


Ion is a data serialization language developed by Amazon. It may be represented by either a human-readable text form or a compact binary form. The text form is a superset of JSON; thus, any valid JSON document is also a valid Ion document.

Data types

As a superset of JSON, Ion includes the following data types
The nebulous JSON 'number' type is strictly defined in Ion to be one of
Ion adds these types:
Each Ion type supports a null variant, indicating a lack of value while maintaining a strict type.
The Ion format permits annotations to any value in the form of symbols. Such annotations may be used as metadata for otherwise opaque data.

Implementations

Sample document


// comments are allowed in Ion files using the double forward slash

Uses