Re: @JohnzonProperty

2016-06-01 Thread Romain Manni-Bucau
then merge the JSON-P 1.1 branch. Managed ref is not on the roadmap AFAIK (and never needed/used it to be honest) but json-p opens the door to it with jsonpointer so can happen. > /hw > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/JohnzonProper

Re: @JohnzonProperty

2016-06-01 Thread hwaastad
-- View this message in context: http://tomee-openejb.979440.n4.nabble.com/JohnzonProperty-tp4678709p4678712.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: @JohnzonProperty

2016-06-01 Thread Romain Manni-Bucau
Hello, setAccessMode("field") I guess (or "both") on the builder. Default is POJO convention so only reads annotations on getter and setters. Using ATM: new MapperBuilder().setAccessModeName("field").build(); With: @Data public class OAuth2Token { @JohnzonPr

@JohnzonProperty

2016-06-01 Thread hwaastad
Hi, I might be missing something but: public class TokenResponse { @JohnzonProperty("token_type") private String tokenType; @JohnzonProperty("mapi") private String mapi; @JohnzonProperty("access_token") private String accessToken;