verifyKeyTags

Parameters

verifyKeyTags

Specifies whether tags preceding map keys (i.e. properties) should be matched against the KeyTags annotation during the deserialization process. CBOR allows for optionally defining tags for properties and their values. When the encodeKeyTags switch is set to true tags on CBOR map keys (i.e. properties) are encoded into the resulting byte string to transport additional information. Setting verifyKeyTags to true forces strict verification of such tags during deserialization. I.e. tags must be present on all properties of a class annotated with KeyTags in the CBOR byte stream in full and in order. See RFC 8949 Tagging of Items for more info.