AggressivelyPassive

  • 1 Post
  • 120 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • That’s exactly not the thing, because nobody broke the contract, they simply interpret it differently in details.

    Having a null reference is perfectly valid json, as long as it’s not explicitly prohibited. Null just says “nothing in here” and that’s exactly what an omission also communicates.

    The difference is just whether you treat implicit and explicit non-existence differently. And neither interpretation is wrong per contract.