Hacker News new | ask | show | jobs
by thaumasiotes 1285 days ago
> Also, hashing JSON is something which looks somewhat dangerous.

Hashing JSON is an idea that gives me the creeps because two identical bits of JSON can have different hashes, which sounds like a much bigger problem to me than two different bits of JSON having the same hash.

    {"k1":40,"k2":25}
and

    {"k2":25,"k1":40}
are the same object; no matter what you're using the hash for, they should have the same hash.