do we add a withAdapter(from, to, adapter) method to JsonbConfig?
it would allow anonymous adapters to work instead of having to create a
class.
Also the javadoc should be updated since to and from method have the same
and we don't know if the json type should be from or to - I'd assume from
but would be good to make it clear. Or do we support auto detection (ie <A,
B> = <B, A> for the runtime? this would prevent custom logic in one
particular way if so)
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau