I'm not sure why this is happening but the @SerializedName annotation is supposed to work for both serialization and deserialization but it appears to not work at all. It wasn't noticed until now since we set FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES on the gson object. but if you look at the rawCenter method line, we use @SerializedName("center") but the output when serializing the object is raw_center still. Any ideas on what the issue could be here @zugaldia @tobrun @osana @danesfeder?
I'm not sure why this is happening but the
@SerializedNameannotation is supposed to work for both serialization and deserialization but it appears to not work at all. It wasn't noticed until now since we setFieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORESon thegsonobject. but if you look at therawCentermethod line, we use@SerializedName("center")but the output when serializing the object israw_centerstill. Any ideas on what the issue could be here @zugaldia @tobrun @osana @danesfeder?