Hacker News new | ask | show | jobs
by CodesInChaos 891 days ago
> All collection elements are ended with specific sub element (just like ']' '}' in JSON)

I don't think so. Arrays and documents store the number of elements before the data and don't use a terminator value. Only element names are nul terminated strings.