Skip to content

Commit 7b9bfa6

Browse files
authored
Clarify annotated array format aliases
1 parent 44ce073 commit 7b9bfa6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

JData_specification.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,11 +661,12 @@ The first 8 data types are considered "integer" types, and the last three types
661661

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

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

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

670671

671672
##### Complex-valued arrays

0 commit comments

Comments
 (0)