ZON Logo
Documentation
Docs
Essentials
Format Overview

Format Overview

ZON auto-selects the optimal representation for your data.

Tabular Arrays

Best for arrays of objects with consistent structure:

products:@(3):id,inStock,name,price
1,T,Laptop,999.99
2,T,Mouse,24.50
3,F,Monitor,199.00
  • @(3) = row count
  • Column names listed once
  • Data rows follow

Nested Objects

Best for configuration and nested structures:

app_settings{theme{mode:dark,contrast:high},notifications{email:T,push:F}}

Mixed Structures

ZON intelligently combines formats:

metadata{env:production,version:1.0.4}
users:@(5):id,name,active
1,Alice,T
2,Bob,F
...
logs:"[{id:101,level:INFO},{id:102,level:WARN}]"