Replies: 1 comment
-
For writing CBOR, if using cbor_bytes_encoder or cbor_stream_encoder, you can write a key as any CBOR value, numeric, object, whatever, basically write pairs of two values (the first the key, the second the corresponding value) bracketed inside a For reading CBOR, we have When interacting with the rest of the jsoncons library, the keys currently get converted to/from strings, though. For example, you can use |
Beta Was this translation helpful? Give feedback.
-
Are numeric keys supported/possible (especially in CBOR serialization)?
Example:
I haven't found a solution yet.
Beta Was this translation helpful? Give feedback.
All reactions