Yes metadata is an example where extensibility is definitely needed. CBOR and BEVE are binary, extensible and the types include the JSON types. BEVE is here https://github.com/beve-org/beve and it looks like all the encoding is defined right there in the small README.md file, which is far simpler than CBOR if I'm not misunderstanding.

Reply to this note

Please Login to reply.

Discussion

Looks great! I should actually spend sometime writing a library for that in D, I dig binary formats.

But yes, that looks like a contender.