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

Newly added Char datatype poorly mapped #19

Description

@mbrannstrom

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions