Ask HN: JSON RFC 8785 Serialization
I went ahead and duplicated this to PHP and Ruby, writing some unit tests, which all seem to pass, but I'm curious if anyone else has experienced anything of the like and what they did.
ChatGPT recommends using JSON Canonicalization Algorithm (JCA) RFC 8785, which seems legit at first glance.
While I'm sure this will work all just well and good, I'm curious to hear anyone what kinds of trials and errors anyone else has gone through on such a seemingly simple task.