json-iterator/go

[Question] different type encoders for the same type

DigitalMarc opened this issue · 0 comments

I have the requirement to serialize the same type in different formats depending on certain scenarios (REST API retrocompatibility).
Is there is a way to do so?