Reputation: 21267
I was looking to find a GWT POJO-JSON mapper. In responses to another question and by Googling around I found following solutions:
My question is that does any of these (or any other) solutions has significant performance gain/lose or any other considerable advantages or disadvantages?
Upvotes: 3
Views: 2543
Reputation: 20920
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.
Upvotes: 3
Reputation: 2737
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.
Upvotes: 1