Skip to content

Commit

Permalink
Merge pull request #61 from daidoji/add-fieldmap-normative-requirement
Browse files Browse the repository at this point in the history
Added note that cbor/json/mgpk be field maps.
  • Loading branch information
m00sey authored Feb 20, 2024
2 parents e93c4f8 + d8aea1c commit 2945cda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,10 @@ This is summarized in the following table:
|0b110|MGPK (Map16, Map32)| |
|0b111|CESR ‘B’ domain Count Code or Op Code| |

::: note
The above table implies a normative requirement that all serializations of MGPK, CBOR, JSON in CESR be top level field maps. Serializations of these formats that aren't top level field maps are undefined and will most likely lead to a stream that won't decode.
:::

#### Stream parsing rules

Given this set of Tritets (3 bits), a well-formed Stream start and restart requirement can be expressed.
Expand Down

0 comments on commit 2945cda

Please sign in to comment.