Esko Dijk <esko.d...@iotconsultancy.nl> 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 <mcr+i...@sandelman.ca>, Sandelman Software Works -= IPv6 IoT consulting =- *I*LIKE*TRAINS*
signature.asc
Description: PGP signature
_______________________________________________ Anima mailing list -- anima@ietf.org To unsubscribe send an email to anima-le...@ietf.org