Jackson serialize simple one attribute ValueObject like Enum - without nesting

后端 未结 0 705
生来不讨喜
生来不讨喜 2021-02-05 00:29

Is it possible to configure jackson to serialize simple value objects, wrapping only one attribute, to be serialized like enums?

public final class ErrorCode {

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题