In prototyping communication between .NET desktop app and Java server, using REST with JSON posts, I am running into a case-sensitivity issue. The .NET objects have there p
Use FieldNamingPolicy on a GsonBuilder, to get your Gson object. Yours seems to match UPPER_CAMEL_CASE.
Gson
Gson gson = new GsonBuilder() .setFieldNamingPolicy(FieldNamingPolicy.UPPER_CAMEL_CASE) .create();
For any exceptions, annotate your class field with a @SerializedName annotation.