Engineering·13 min read
Why The Same JSON Request Can Mean Two Different Things
I ran the same JSON through JavaScript and Go. One program read preview, the other read commit, and neither reported an error. How case-insensitive field matching, duplicate keys and re-serialization let a gateway and a backend disagree about what a request means.