Ali Shakiba
Ali Shakiba

Reputation: 21267

GWT POJO-JSON Mappers?

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

Answers (2)

Jason Hall
Jason Hall

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

Bartek Jablonski
Bartek Jablonski

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

Related Questions