On Thu, Nov 11, 2021 at 07:02:10PM +0100, Florian Weimer wrote:
* Lennart Poettering:
> And I think that's a *good* thing: JSON might not be perfect — because
> nothing is —, but it's certainly one of the better designed generic
> data formats around, and it's complexity is absolutely managable.
Number handling in JSON is underspecified, and some variants (including
the original one) are not exactly easy to implement. I assume you
simply don't use numbers in the data?
Not really, it's just strings so far. Even versions are not numbers,
because of dots and letters. I can imagine we could maybe use integers
for something in the future (epochs? compat versions?), but those
would be small numbers, so nothing that could cause problems.
Zbyszek