Canonical JSON: 0
vs -0
#1566
Labels
clarification
An area where the expected behaviour is understood, but the spec could do with being more explicit
help wanted
Interested in contributing to the spec? These would be great additions!
Link to problem area: https://spec.matrix.org/v1.7/appendices/#canonical-json
Issue
In spec v1.7, in the "canonical JSON" appendix, it looks like both
0
and-0
are allowed (both integers in range, leading minus permitted for all integers).-0
should probably be explicitly disallowed.The text was updated successfully, but these errors were encountered: