Skip to content

Hex in CBOR #89

Open
Open
@CodeOn-ArK

Description

@CodeOn-ArK

Hi there!
How to encode a JSON format as following:

{
"val1" : p,
"val2" : h'1234abcd'
}

Where the field val2 is associated with a hex data.
This doesn't seems to be a correct JSON format, however the web interface is able to convert it to the required CBOR format.
I am unable to use any of the python/JS libs to convert this to CBOR, however the web is able to do so.
What is the correct representation of this format where I want to send a hex value
Regards

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