Esko Dijk <[email protected]> wrote: >> Carsten has made a suggestion during the meeting for the problem of strings >> (JSON) vs integers/SIDs (CBOR). I haven't not yet understood the suggestion >> as to what to do here. I hope to close the loop soon though.
> The idea was to use a single type that's already defined in RFC 9254 to
> be serializable to both text and to SID value.
> E.g. like below:
> leaf-list extensions {
> type instance-identifier {
> }
> description
> "A list of extension modules that are used in this Voucher
> file.";
> }
Yes, but as you say, it's wrong.
Carsten has suggested identityref, but I have not yet been able to make it
work. I think that maybe there is an "any" type.
--
Michael Richardson <[email protected]>, Sandelman Software Works
-= IPv6 IoT consulting =- *I*LIKE*TRAINS*
signature.asc
Description: PGP signature
_______________________________________________ Anima mailing list -- [email protected] To unsubscribe send an email to [email protected]
