Hacker News new | ask | show | jobs
by tcard 3397 days ago
Separation of concerns: the code handling the envelope doesn't need to know about the format of the payload. The JSON in that payload will only be encoded (on the sender) and decoded (on the recipient) once.