News for hackers. Stuff that matters.
Re:Son: A minimal subset of JSON for machine-to-machine comm... by pegasuscollins on Sunday December 10, 2017 @10:01AM (#15891653)
You could either stipulate (as you suggested) to always use the smallest width that still fits a number and then prefix with a length byte but that would be wasteful. Ideally something like LEB128 would be used. At any rate, it's not an issue in terms of guaranteeing a bijective mapping.
Re:Son: A minimal subset of JSON for machine-to-machine comm... by majewsky on Monday December 11, 2017 @03:33AM (#15895830)
Nice, I didn't know about LEB128.