Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Newly added Char datatype poorly mapped #19

Open
mbrannstrom opened this issue Jun 8, 2016 · 0 comments
Open

Newly added Char datatype poorly mapped #19

mbrannstrom opened this issue Jun 8, 2016 · 0 comments

Comments

@mbrannstrom
Copy link
Contributor

The newly added CHAR datatype is a little bit poorly mapped.

For now it seem to be an alias for UINT16, since it is represented as an integer in all formats, including
e.g. JSON and XML, where it should have been a char, e.g. 'A' instead of 65.

If the reason for adding it is to simply map the Java types char/Character, then those could have been added to UINT32 as valid Java datatypes, just as e.g. ENUM allows for both int and enum to be bound.

If the reason for adding it is to truly have a new data type, then CHAR should be encoded as a character in the text formats, i.e. JSON and XML.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant