Times are different from the carefree days that brought us XML and JSON.
Security
Protecting your data and infrastructure
State actors, criminal organizations and mercenaries are now actively hacking governments, companies and individuals to steal secrets, plant malware, and hold your data hostage.
Concise Encoding is designed for security, and is versioned so that it can be updated to handle new threats.
Efficiency
But not at the cost of convenience
We send so much data these days that efficiency is critical, but switching to binary means giving up the ease of text formats.
... or does it?
Concise Encoding gives you ease and efficiency with its 1:1 compatible text and binary formats.
Types
Because stringifying everything is wasteful
Lack of types forces everyone to add extra encoding steps to send their data, which is buggy, reduces compatibility, and opens even more security holes.
We live in the 21st century - base64 should be a footnote in history by now!
Concise Encoding supports all of the common types natively. No more encoding things into strings.
Typical Usage
99% of the time, the data remains in binary form. With a twin binary/text format, communication and storage can happen in the more efficient binary format, and humans still have easy access with seamless conversion to/from the text format whenever needed.
c1
{
// Entire map will be referenced later as $id1
"marked object" = &id1:{
"recursive" = $id1
}
"ref1" = $id1
"ref2" = $id1
// Reference pointing to part of another document.
"outside ref" = $"https://xyz.com/document.cte#some_id"
}