最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

yasson - jakarta jsonb - where is @JsonbPreSerialize defined? - Stack Overflow

programmeradmin2浏览0评论

Chatgpt told me about an annotation called @JsonbPreSerialize and corresponding other annotations as well. It says it is defined in package jakarta.json.bind.annotation, but either I'm blind or that's not true. Where can I find this annotation? I'm using pure jsonb with yasson implementation (which should be ok following chagtgpt).

It also says that annotated methods would be called just before serialisation, which is exactly what I need. I want use this to handle jsonb recursion problems.

发布评论

评论列表(0)

  1. 暂无评论