@retr0id (This presumes that inter-language determinism is desirable; which seems like a reasonable assumption, given that if it's not, your language of choice likely has a language-specific deterministic hashing mechanism anyway, and you don't need to deal with JSON anything)
@joepie91 That is indeed an issue, but I don't think *anyone* has a good solution to it. For applications where it might matter, it's best to disallow floats entirely tbh.
Could perhaps be solved with sufficiently pedantic rules about how to transform the original JSON number string into serialized bytes. JSON itself is not guaranteed to be interoperable with numbers outside the range of a double-precision float, though
@retr0id (This presumes that inter-language determinism is desirable; which seems like a reasonable assumption, given that if it's not, your language of choice likely has a language-specific deterministic hashing mechanism anyway, and you don't need to deal with JSON anything)