You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An issue with Yasson percolates to a bug in the Quarkus REST Client (escalated from quarkusio/quarkus#15628):
When a serializer class doesn't explicitly implement JsonbSerializer but rather implicitly does so it will not be registered thus failing to serialize correctly.
Expected behavior
When a serializer is implicitly implementing JsonbSerializer it should be registered to correctly perform serialization.
Actual behavior
Serializer class that is explicitly implementing JsonbSerializer is not registered thus failing to serialize correctly.
Describe the bug
An issue with Yasson percolates to a bug in the Quarkus REST Client (escalated from quarkusio/quarkus#15628):
When a serializer class doesn't explicitly implement
JsonbSerializer
but rather implicitly does so it will not be registered thus failing to serialize correctly.Expected behavior
When a serializer is implicitly implementing
JsonbSerializer
it should be registered to correctly perform serialization.Actual behavior
Serializer class that is explicitly implementing
JsonbSerializer
is not registered thus failing to serialize correctly.To Reproduce
Clone the example repo
Steps to reproduce the behavior:
Have any echo server running at localhost:3000 (e.g. you can use http-echo-server)
Enable JsonConfig.java line 17
Disable JsonConfig.java line 18
Run app (i.e. gradle run or any other way)
Notice the body is
[{"key":{"1111":"1","2222":"2"},"value":{"1111":"1","2222":"2"}}]
Disable JsonConfig.java line 17
Enable JsonConfig.java line 18
Run app (i.e. gradle run or any other way)
Notice the body is
[{"key":{},"value":{}}]
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: