Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify annotated array format aliases #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions JData_specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -661,11 +661,12 @@ The first 8 data types are considered "integer" types, and the last three types

In addition, the below two data types can be used as aliases to the `uint8` type in an annotated array format:

* **char**: character arrays (8-bit)
* **logical**: logical arrays (8-bit)
* **byte**: byte arrays (8-bit), `[B]` in BJData, no correspondence in UBJSON
* **char**: character arrays (8-bit), `[C]` in BJData/UBJSON
* **logical**: logical arrays (8-bit), `[T]`/`[F]` in BJData/UBJSON

If the above two aliases are used, a parser may optionally convert the enclosed
`uint8` data to character or logical arrays (1-byte).
`uint8` data to byte, character or logical arrays (1-byte).


##### Complex-valued arrays
Expand Down