johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject ObjectConverter and root object
Date Tue, 10 May 2016 18:19:21 GMT
Hi guys,

we need to match a property to apply an object converter from what I saw.

Do we want to support to apply it on the root object (= no property
matching at all)

Means I can have {type: ..., instance: ...} and Foo {id, name} and still
call the converter.

I think we don't handle it yet cause we would need a wrapper on top of it
to match the first instance ({wrap: {type: ..., instance: ...}} is doable).

Did I miss anything?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message