2 ms·
Thanks! I was commenting just from the perspective of JSON in general, didn't check the JMAP spec. (Does JMAP require validating that the input is valid I-JSON
by jsnell 7y ago
Thanks! I was commenting just from the perspective of JSON in general, didn't check the JMAP spec.
(Does JMAP require validating that the input is valid I-JSON? Or does it just say that a JMAP endpoint is allowed to assume it's I-JSON, but doesn't need to validate it?)
- chrismorgan 7y agoIf the input is not valid I-JSON, a JMAP server that does not reject it is non-compliant. (Related: Postel’s law is wrong. See https://tools.ietf.org/html/draft-iab-protocol-maintenance-03 https://tools.ietf.org/html/draft-iab-protocol-maintenance-0... for some explanation.)