mapping a pojo with json via gson

Solutions on MaxInterview for mapping a pojo with json via gson by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "mapping a pojo with json via gson"
Carmela
30 Nov 2019
1  class SaltPOJO {
2        @SerializedName("CODE")
3        private String code = null;
4        @SerializedName("USER")
5        private User user = null;
6        ...
7
8        class User {
9            @SerializedName("E_MAIL")
10            private String e_mail = null;
11            @SerializedName("SALT")
12            private String salt = null;