3 ms·
You mean like CBOR? https://en.wikipedia.org/wiki/CBOR https://en.wikipedia.org/wiki/CBOR
by legulere 5y ago
You mean like CBOR?
https://en.wikipedia.org/wiki/CBOR https://en.wikipedia.org/wiki/CBOR
- SigmundA 5y agoSure, looks good, plenty to choose from, just need to get everyone to agree on one. Although I do like ones that have some concept of a schema to reduce repeated key size and allow validation.
- strictfp 5y agoThere's also Minecraft NBT. It's a bit obscure but quite nice. https://minecraft.fandom.com/wiki/NBT_format https://minecraft.fandom.com/wiki/NBT_format
- rstuart4133 5y agoOr indeed ASN.1 [0], which started life in 1984 and is still used in a lot of places today. The idea has been around for almost 40 years in arguably more complete format than any of the above up to and including a standardised schema representation. It's not the lack of a suitable standard that's holding it back. [0] https://en.wikipedia.org/wiki/ASN.1 https://en.wikipedia.org/wiki/ASN.1
- sitkack 5y agoYou should put your NBTs inside of a netstring, https://en.wikipedia.org/wiki/Netstring https://en.wikipedia.org/wiki/Netstring