阅读背景:

Jackson - 将属性序列化/反序列化为JSON值

来源:互联网 

Using Jackson 2, I'm looking for a generic way to be serialize objects as a single value (then serialize them back later populating only that single field) without having to repetitively create a JsonSerializer / JsonDeserializer to handle each case. The @JsonIdentityInfo annotation comes pretty close but misses the mark a little bit since, as far as I can tell, it will always serialize the full child object on the first occurrence. way




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

分享到: