Closed thomas-fossati closed 4 years ago
(This is not an Issue per se. It's more like a newbie question / possible feature request.)
Would it be possible to have "split" struct tags so that map/object keys can be integers when encoded to CBOR and strings when encoded to JSON?
This is not possible, as the underlying framework for all formats is consistent.
(This is not an Issue per se. It's more like a newbie question / possible feature request.)
Would it be possible to have "split" struct tags so that map/object keys can be integers when encoded to CBOR and strings when encoded to JSON?