On Sep 27, 2025, at 19:18, Michael Richardson <[email protected]> wrote:
> 
>>> type union {
>>> type uint64;              // when serialized to CBOR
>>> type yang:date-and-time;  // when serialized to JSON
>>> }
> 
>> YANG can’t actually do that.
> 
> I created a union elsewhere.

YANG can do unions.
It can’t do “// when serialized to”.

BTW, do you need the textual form?

Grüße, Carsten

_______________________________________________
Anima mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to