Last active
August 29, 2015 14:06
-
-
Save Mekapiku/48bef9bb06db2bf3fc5e to your computer and use it in GitHub Desktop.
GsonでJsonのフィールド命名規則を変更する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ResponseObject { | |
@SerializedName("room_id") | |
private Long roomId; | |
public Long getRoomId() { | |
return roomId; | |
} | |
public void setRoomId(Long roomId) { | |
this.roomId = roomId; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment