Specification: Tuple

Profiles: basic v1

Tuples are ordered heterogeneous containers. The parameter list records the type of each component in position order.

Encoding rules

Canonical Example Payload

The following payload is taken directly from the current rosetta-stone corpus.

{
  "_ns": {
    "Oscar": [
      "https://github.com/oscar-system/Oscar.jl",
      "1.8.0-DEV-1-8dea7e5a4d0cdef038b2fa2cd018d08201b4ac07"
    ]
  },
  "_type": {"name": "Tuple", "params": ["Base.Int", "String", "Bool"]},
  "data": ["1", "some text", true]
}

Documented Profiles in This Corpus

This table records the profile/version pairs currently represented by the rosetta-stone examples for this data type. Add new rows as new systems or encoding revisions are documented.

Profile Version Example Root type
Oscar 1.7.0 Mixed tuple Tuple
Oscar 1.8.0-DEV-1-8dea7e5a4d0cdef038b2fa2cd018d08201b4ac07 Mixed tuple Tuple

Rosetta Stone Examples