Container Types

Carbon TypeDescriptionSizeJSON Mapping
arraylist of variable-typed elements2+ bytesarray (unconstrained)
columnlist of fixed-typed elements3+ bytesarray (constrained)
objectlist of key-value pairs (properties)TODOobject (unconstrained)
recordidentifiable, versioned arrayTODOJSON file / "document"

Table CT-1: Container Types in Carbon

Container Type Support

Object, Array and Record Containers

true, false, u8, u16, u32, u64, i8, i16, i32, i64, float, string, 
binary, custom binary, null, array, column-u8, column-u16, column-u32, 
column-u64, column-i8, column-i16, column-i32, column-i64, column-float, 
column-boolean, object 

Table CT-2: Container Type Support for array and record Containers

Column Containers

boolean, u8, u16, u32, u64, i8, i16, i32, i64, float

Table CT-3: Container Type Support for column Containers