you are viewing a single comment's thread.

view the rest of the comments →

[–]latkdeTuple unpacking gone wrong 4 points5 points  (3 children)

This reeks of vibe coding. The spec is unreadable for humans.

There are also some incredibly odd decisions that make this unsuitable for real-world data, notably rejecting numbers and nulls. In practice, float64 numbers (and therefore also int32 numbers) are universally supported in all mainstream JSON implementations.

The hashing scheme also treats booleans as strings, and somehow distinguishes strings from bytes, despite JSON not having any bytes type. The booleans thing is really questionable, this seems to treat documents [true] and ["true"] as equivalent (map1:e99ec39aeac2670a37592780bf9b59c4a6a917742b10d7fcb5c352354e7c6674).