Uniform array of objects: the ideal case
- Input
- {"users":[{"id":1,"name":"Ada Lovelace","role":"admin","active":true},{"id":2,"name":"Grace Hopper","role":"user","active":false}],"meta":{"source":"jkit.tools"}}
- Expected output
- users[2]{id,name,role,active}: 1,Ada Lovelace,admin,true 2,Grace Hopper,user,false meta: source: jkit.tools
The `users[2]{id,name,role,active}` header declares the array length and the 4 fields once; no data line repeats the field names, unlike JSON where every object carries the 4 keys again.