Quantcast
Viewing all articles
Browse latest Browse all 147

Gson Tip: Using a different FieldNamingPolicy

Today, while write a client for a REST API I had the need to use a different field naming strategy than the default one. By default, when Gson tries to convert a JSON String to an object it expects field names in JSON to be same as field name in the converting object. For example, … Continue reading Gson Tip: Using a different FieldNamingPolicyImage may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 147

Trending Articles