When encoding any enum field with JsonName annotation, the annotated name is not serialized to output, rather just the enum value.name is used.
When encoding any enum field with JsonName annotation, the annotated name is not serialized to output, rather just the enum value.name is used.