Excluding field from JSON with @Expose GSON

You may also like...

2
Leave a Reply

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
MemoryNotFoundDotun Recent comment authors
  Subscribe  
newest oldest
Notify of
Dotun
Guest
Dotun

Good to know. However, is there a strategy that works on-the-fly? e.g. expose certain fields in certain use cases but not in others