Tagged value.

Predefined tags are listed in Tags enum.

Some tagged values are handled automatically by default (Tags.DateString and Tags.DateNumber correspond to Date object, Tags.RegExp to RegExp). Others are returned as an instance of Tagged, unless encoder/decoder is provided with customer converters. If Tagged is passed to encoder, it will properly encode it.

IANA keeps "CBOR Tags" registry (see RFC 7049, Section 7.2).

Constructors

Properties

Constructors

Properties

tag: number
value: any