阅读背景:

当使用@JsonValue反序列化一个类时,Jackson更喜欢私有构造函数而不是@JsonCreator

来源:互联网 

I have a simple class with a private constructor and a static factory. I want the class to serialize as a number, so I've annotated the getter for the field with I have a simple class with a private constructo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: