Skip to content

Commit b22d428

Browse files
authored
Merge pull request #69 from darobin/feat/mention-simple-values
ban undefined to close 51
2 parents db8a2b0 + 0d5cbc8 commit b22d428

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drisl.src.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ <h2>Format</h2>
5151
Floating-point numbers MUST always be encoded using the longest
5252
variant; completely avoiding floating-point numbers is RECOMMENDED to minimize interoperability and tooling issues.
5353
</li>
54+
<li>
55+
Encoders MUST NOT encode any simple values other than <code>true</code>, <code>false</code>, and <code>null</code> (20, 21, and 22 in section 3.3 of [[rfc8949]]).
56+
</li>
5457
</ul>
5558
<p>
5659
All other requirements are as CBOR/c ([[cborc]]).

0 commit comments

Comments
 (0)