开发者

GWT POJO-JSON Mappers?

I was looking to find a GWT POJO-JSON mapper. In responses to another question and by Goo开发者_运维技巧gling around I found following solutions:

  • GWT Overlay Types
  • GWT AutoBean
  • piriti
  • gwtprojsonserializer
  • gwt-jsonizer

My question is that does any of these (or any other) solutions has significant performance gain/lose or any other considerable advantages or disadvantages?


AutoBeans get compiled down to Overlay Types when used in client-side code, so they have all of the advantages, and are much easier to write.


GWT Overlay Types have big performance gain, because GWT compiler can optimize and inline calls to field value to native JS calls. Look at example of obfuscating of overlay types.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜