You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by rm...@apache.org on 2019/08/22 12:07:33 UTC
[johnzon] branch master updated: Explicit note that Polymorphic
does not support withSerializers / withDeserializers
This is an automated email from the ASF dual-hosted git repository.
rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git
The following commit(s) were added to refs/heads/master by this push:
new 35ba113 Explicit note that Polymorphic does not support withSerializers / withDeserializers
35ba113 is described below
commit 35ba113a01252b8e961342f7283639dc5ed4a38a
Author: Markus KARG <ma...@headcrashing.eu>
AuthorDate: Thu Aug 22 10:32:33 2019 +0000
Explicit note that Polymorphic does not support withSerializers / withDeserializers
---
src/site/markdown/index.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 0dd4b7b..0170515 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -480,6 +480,8 @@ bind the corresponding serializer and/or deserializer:
public List<Root> roots;
}
+Binding the polymophic serializer and/or deserializer *must not* be done using `JsonbConfig.withSerializers` / `JsonbConfig.withDeserializers`, as it is designed to work *only* with binding performed *using annotations*.
+
### JSON Schema