Accepts an object that names its variant in the field tagField. The tag is a member of the enum tags, and variants holds one decoder of the whole object for every member.
tagField
tags
variants
Accepts an object that names its variant in the field
tagField. The tag is a member of the enumtags, andvariantsholds one decoder of the whole object for every member.