Jackson's Access.WRITE_ONLY during test null

前端 未结 3 1889
栀梦
栀梦 2021-01-15 01:21

I\'m currently playing around with Jackson\'s de/serialization features and I encountered a problem, I don\'t know how to solve.

During my test the @JsonProper

3条回答
  •  旧时难觅i
    2021-01-15 01:41

    add the line for your ObjectMapper:

    mapper.disable(MapperFeature.USE_ANNOTATIONS);
    

提交回复
热议问题