Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.0
-
None
-
None
-
$ mvn -verion
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00)
Maven home: C:\Program Files\apache-maven-3.6.1
Java version: 1.8.0_181, vendor: Azul Systems, Inc., runtime: C:\Program Files\zulu8.31.0.1-jdk8.0.181-win_x64\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"$ mvn -verion Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00) Maven home: C:\Program Files\apache-maven-3.6.1 Java version: 1.8.0_181, vendor: Azul Systems, Inc., runtime: C:\Program Files\zulu8.31.0.1-jdk8.0.181-win_x64\jre Default locale: de_DE, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Description
Using Johnzon-JSONB + Johnzon-Extras-Polymorphic (tried with 1.1.10, 1.1.13, and 1.2.0-SNAPSHOT), no explicit JsonbCofig, binding just by @JsonbDeserializer annotation, the Polymorphic.Serializer runs into an endless loop as it again and gain and again tries to serialize the field "_value". It seems it does not detect the recursion.
Continuation of https://github.com/eclipse-ee4j/jsonb-api/issues/147.