Seems like a good idea!

LieGrue,
strub


> Am 23.02.2022 um 13:44 schrieb Romain Manni-Bucau <rmannibu...@gmail.com>:
> 
> Hi all,
> 
> There is mainly a new API in JSON-B for polymorphism:
> https://github.com/eclipse-ee4j/jsonb-api/blob/master/api/src/main/java/jakarta/json/bind/annotation/JsonbTypeInfo.java
> (and its subtype friend).
> I don't think it is very hard to implement, mainly a matter of storing that
> data in Mappings (ClassMapping actually) and using it in our writer/reader
> code.
> The only trick will be the javax/jakarta difference since current code is
> javax only.
> I see two options:
> 
> 1. create a johnzon-javax-extension module adding the new API and continue
> to implement as we do now
> 2. move to jakarta and drop javax support
> 
> Since we are quite stable I think 2 would be possible now but I'm happy
> with 1 as well which can avoids a big bang and enables us to still build on
> java 8 for some time.
> 
> Wdyt?
> Anyone willing to try to implement this new feature?
> 
> Guess we would make our version 1.3 then?
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>

Reply via email to