Re: Arrays / Lists elements polymorphic support

2018-04-23 Thread Roberto Cortez
Cool. Thank you. I'll give it a try. On Monday, April 23, 2018, 7:04:04 PM GMT+1, Romain Manni-Bucau wrote: done https://github.com/apache/johnzon/blob/master/src/site/markdown/index.md#user-content-json-b-extra Romain Manni-Bucau @rmannibucau |  Blog

Re: Arrays / Lists elements polymorphic support

2018-04-23 Thread Romain Manni-Bucau
done https://github.com/apache/johnzon/blob/master/src/site/markdown/index.md#user-content-json-b-extra Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github

[jira] [Resolved] (JOHNZON-170) add a polymorphic jsonb extension

2018-04-23 Thread Romain Manni-Bucau (JIRA)
[ https://issues.apache.org/jira/browse/JOHNZON-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau resolved JOHNZON-170. Resolution: Fixed > add a polymorphic jsonb extension > ---

[jira] [Created] (JOHNZON-170) add a polymorphic jsonb extension

2018-04-23 Thread Romain Manni-Bucau (JIRA)
Romain Manni-Bucau created JOHNZON-170: -- Summary: add a polymorphic jsonb extension Key: JOHNZON-170 URL: https://issues.apache.org/jira/browse/JOHNZON-170 Project: Johnzon Issue Type: N

Re: Arrays / Lists elements polymorphic support

2018-04-23 Thread Romain Manni-Bucau
Ok Will try to adapt the impl we had and push it later today or tmr and ping here for feedbacks Le 23 avr. 2018 18:46, "Jean-Louis MONTEIRO" a écrit : > That works for me. > I agree that having that extension into a specific module is the way to go > > Le lun. 23 avr. 2018 à 18:44, Romain Manni

Re: Arrays / Lists elements polymorphic support

2018-04-23 Thread Jean-Louis MONTEIRO
That works for me. I agree that having that extension into a specific module is the way to go Le lun. 23 avr. 2018 à 18:44, Romain Manni-Bucau a écrit : > Maybe raise a spec issue since we tend to be jsonb driven now. Would be > great to not have a custom api for the id mapping. > > In the mean

Re: Arrays / Lists elements polymorphic support

2018-04-23 Thread Romain Manni-Bucau
Maybe raise a spec issue since we tend to be jsonb driven now. Would be great to not have a custom api for the id mapping. In the mean time we can push a jsonb-extra with that impl Le 23 avr. 2018 18:39, "Jean-Louis MONTEIRO" a écrit : > Hey Roberto, > > I think that would be a great feature. >

Re: Arrays / Lists elements polymorphic support

2018-04-23 Thread Jean-Louis MONTEIRO
Hey Roberto, I think that would be a great feature. Already had this case in the past and looks like Jackson and Gson already have it. Gson subtypes on adapters. https://github.com/google/gson/blob/master/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapterFactory.java Jackson a