問題タブ [jsonbuilder]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
318 参照

java - @JsonbTypeDeserializer and @JsonbTypeSerializer don't work in the fields

I'm in an activity of exchanging Jackson for Jsob-B and I am having a problem on use @JsonbTypeDeserializer and @JsonbTypeSerializer as told below.

I have an entity like this:

And one test like this:

When running the test, the Decryption class is trying to deserialize the login field, but, as you can see, only the password field has annotations.

Any way to fix it?